GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DefaultTool Property
In This Topic
    DefaultTool Property
    In This Topic
    Gets or sets the default tool.
    Syntax
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public virtual IGoTool DefaultTool {get; set;}

    Property Value

    The value must not be null. Initially this is assigned the value of CreateDefaultTool.
    Remarks
    When the Tool property is set to null, we actually reset Tool to be the value of this DefaultTool property. By default this value is an instance of GoToolManager, which handles standard keyboard commands and invokes the appropriate tool upon mouse down/move/up events.
    See Also