feat: TextBox default ContextMenu.

This commit is contained in:
Zhang Dian
2024-02-23 16:15:21 +08:00
parent 82f284b5fa
commit a5657a38cd
4 changed files with 10 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
<MenuItem
x:Name="SelectableTextBlockContextFlyoutCopyItem"
Command="{Binding $parent[SelectableTextBlock].Copy}"
Header="Copy"
Header="{DynamicResource STRING_MENU_COPY}"
InputGesture="{x:Static TextBox.CopyGesture}"
IsEnabled="{Binding $parent[SelectableTextBlock].CanCopy}" />
</MenuFlyout>