Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> Public Property Active As Boolean |
C# | |
---|---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] public bool Active {get; set;} |
You can set this to true after your tool is started (i.e. when it is the Northwoods.GoXam.Diagram.CurrentTool and DoStart had been called), but when it is not yet in a state that it is actually "doing" something, because it is waiting for the right circumstances. This is typically only important when the tool is used in a modal fashion.