Sid Price
asked on
WPF menu resource usage
I have a ContextMenu resource that needs to be used in three UserControls. It looks like this:
One of the menu items needs to be handled in two of the controls and the other two in the third control. How can I do this?
Thanks,
Sid.
<ContextMenu x:Key="mnuOverride">
<MenuItem Header="Show as bits" IsCheckable="True" Name="mnuShowAsBits" />
<MenuItem Header="Hide Peripheral" Name="mnuHidePeripheral" />
<Separator />
<MenuItem Header="View Hidden Peripherals" Name="mnuViewHiddenPeripherals" />
</ContextMenu>
One of the menu items needs to be handled in two of the controls and the other two in the third control. How can I do this?
Thanks,
Sid.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,
Sid.