Visual Basic (Declaration) | |
---|---|
Public Property MouseEnabled As Boolean |
C# | |
---|---|
public bool MouseEnabled {get; set;} |
Property Value
The default value is true. Set this to false to prevent CanStart from returning true.Setting this property to false should prevent this tool from being used in a mode-less fashion with a mouse down/move/up event. However, even when this property is false, this tool can still be used in a model fashion: this tool can still be started by explicitly setting the Northwoods.GoXam.Diagram.CurrentTool property to this tool.
This property is also useful in Silverlight 3, where there is no <x:Null/>
XAML element by which to set a Northwoods.GoXam.Diagram tool to null in XAML. Instead you can just set this property to false.