RichTextBox in this project never expect Cut/Paste context menu actions.

This commit is contained in:
leo 2020-07-15 11:57:35 +08:00
parent a30ac86617
commit 863e83d402
2 changed files with 0 additions and 6 deletions

View file

@ -153,8 +153,6 @@
<RichTextBox.ContextMenu> <RichTextBox.ContextMenu>
<ContextMenu> <ContextMenu>
<MenuItem Command="ApplicationCommands.Copy"/> <MenuItem Command="ApplicationCommands.Copy"/>
<MenuItem Command="ApplicationCommands.Cut"/>
<MenuItem Command="ApplicationCommands.Paste"/>
</ContextMenu> </ContextMenu>
</RichTextBox.ContextMenu> </RichTextBox.ContextMenu>
<FlowDocument PageWidth="0"/> <FlowDocument PageWidth="0"/>

View file

@ -80,8 +80,6 @@
<RichTextBox.ContextMenu> <RichTextBox.ContextMenu>
<ContextMenu> <ContextMenu>
<MenuItem Command="ApplicationCommands.Copy"/> <MenuItem Command="ApplicationCommands.Copy"/>
<MenuItem Command="ApplicationCommands.Cut"/>
<MenuItem Command="ApplicationCommands.Paste"/>
</ContextMenu> </ContextMenu>
</RichTextBox.ContextMenu> </RichTextBox.ContextMenu>
</RichTextBox> </RichTextBox>
@ -136,8 +134,6 @@
<RichTextBox.ContextMenu> <RichTextBox.ContextMenu>
<ContextMenu> <ContextMenu>
<MenuItem Command="ApplicationCommands.Copy"/> <MenuItem Command="ApplicationCommands.Copy"/>
<MenuItem Command="ApplicationCommands.Cut"/>
<MenuItem Command="ApplicationCommands.Paste"/>
</ContextMenu> </ContextMenu>
</RichTextBox.ContextMenu> </RichTextBox.ContextMenu>
</RichTextBox> </RichTextBox>