mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
使 RichTextBox 的默认右键菜单符合主题
This commit is contained in:
parent
3c8fc094ac
commit
b06fe3d477
2 changed files with 21 additions and 0 deletions
|
@ -150,6 +150,13 @@
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
FontFamily="Consolas">
|
FontFamily="Consolas">
|
||||||
|
<RichTextBox.ContextMenu>
|
||||||
|
<ContextMenu>
|
||||||
|
<MenuItem Command="ApplicationCommands.Copy"/>
|
||||||
|
<MenuItem Command="ApplicationCommands.Cut"/>
|
||||||
|
<MenuItem Command="ApplicationCommands.Paste"/>
|
||||||
|
</ContextMenu>
|
||||||
|
</RichTextBox.ContextMenu>
|
||||||
<FlowDocument PageWidth="0"/>
|
<FlowDocument PageWidth="0"/>
|
||||||
</RichTextBox>
|
</RichTextBox>
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,13 @@
|
||||||
<RichTextBox.Document>
|
<RichTextBox.Document>
|
||||||
<FlowDocument PageWidth="0"/>
|
<FlowDocument PageWidth="0"/>
|
||||||
</RichTextBox.Document>
|
</RichTextBox.Document>
|
||||||
|
<RichTextBox.ContextMenu>
|
||||||
|
<ContextMenu>
|
||||||
|
<MenuItem Command="ApplicationCommands.Copy"/>
|
||||||
|
<MenuItem Command="ApplicationCommands.Cut"/>
|
||||||
|
<MenuItem Command="ApplicationCommands.Paste"/>
|
||||||
|
</ContextMenu>
|
||||||
|
</RichTextBox.ContextMenu>
|
||||||
</RichTextBox>
|
</RichTextBox>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
@ -126,6 +133,13 @@
|
||||||
<RichTextBox.Document>
|
<RichTextBox.Document>
|
||||||
<FlowDocument PageWidth="0"/>
|
<FlowDocument PageWidth="0"/>
|
||||||
</RichTextBox.Document>
|
</RichTextBox.Document>
|
||||||
|
<RichTextBox.ContextMenu>
|
||||||
|
<ContextMenu>
|
||||||
|
<MenuItem Command="ApplicationCommands.Copy"/>
|
||||||
|
<MenuItem Command="ApplicationCommands.Cut"/>
|
||||||
|
<MenuItem Command="ApplicationCommands.Paste"/>
|
||||||
|
</ContextMenu>
|
||||||
|
</RichTextBox.ContextMenu>
|
||||||
</RichTextBox>
|
</RichTextBox>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in a new issue