GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / MouseDownTools Property
In This Topic
    MouseDownTools Property
    In This Topic
    Gets a list of "mode-less" tools to be considered for becoming the current Tool upon a mouse down event.
    Syntax
    [Browsable(false)]
    public virtual IList<IGoTool> MouseDownTools {get;}

    Property Value

    The IList of IGoTool may be modified.
    Remarks

    GoToolManager, an instance of which is normally the DefaultTool, iterates through this list when a mouse down event occurs. The first tool that it finds whose IGoTool.CanStart method returns true becomes this view's current Tool. If no such tool is found, the GoToolManager continues its normal behavior.

    By default this returns a list containing instances of the GoToolAction, GoToolContext, GoToolPanning, GoToolRelinking, and GoToolResizing tools, in that order. The order of the tools matters, because even if several tools can start, only the first one actually is started.

    See Also