Northwoods.GoSilverlight 1.2.2 Assembly
ContextMenuEnabled Property
See Also  Send Feedback
Northwoods.GoXam Namespace > Diagram Class : ContextMenuEnabled Property

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

Silverlight 3 does not support right mouse button events at all, so this property is ignored for Silverlight 3. The value of this property has no effect on ContextMenus defined in the DataTemplates for nodes or links.

Requirements

See Also

© 2010 All Rights Reserved.