I have two menu items that are in a WPF context, I bind them with commands, when both items Is not available, I mean when both commands can not be executed?
Add an event handler to the context menuuping event. In the ContextMenuEventArgs object, set the transit property to the correct and the context menu will not open.
Comments
Post a Comment