<contextmenu x:key="TextBoxMetroContextMenu" style="{StaticResource MetroContextMenu}"> <menuitem style="{DynamicResource MetroMenuItem}" command="ApplicationCommands.Cut"> <menuitem style="{DynamicResource MetroMenuItem}" command="ApplicationCommands.Copy"> <menuitem style="{DynamicResource MetroMenuItem}" command="ApplicationCommands.Paste"> </contextmenu>
<style x:key="MetroTextBox" targettype="{x:Type TextBox}"> ... <Setter Property="ContextMenu" Value="{DynamicResource TextBoxMetroContextMenu}" /> </style>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)