Gets or sets whether right mouse clicks are ignored so that a context click within the diagram's
Diagram.Panel can bring up a
ContextMenu. [Silverlight only]
Syntax
Visual Basic (Declaration) | |
---|
Public Property ContextMenuEnabled As Boolean |
C# | |
---|
public bool ContextMenuEnabled {get; set;} |
Property Value
The default value of this property is false, which causes right mouse button down and up events to be treated as normal diagram mouse events passed onto the
Diagram.CurrentTool. When this value is true, the current tool will not receive right mouse button events, but any
ContextMenuService.ContextMenu defined on the
Diagram will be able to be shown.
Remarks
Requirements
See Also