Find one of the tools used by this view that is an instance of a given tool type.
'Declaration
Public Overloads Function FindMouseTool( _
ByVal As Type _
) As IGoTool
public IGoTool FindMouseTool(
Type
)
Parameters
- tooltype
Return Value
null if no mouse tool's type is exactly
(myView.FindMouseTool(typeof(GoToolContext)) as GoToolContext).SingleSelection = false; (myView.FindMouseTool(typeof(GoToolLinkingNew)) as GoToolLinkingNew).ForwardsOnly = true; GoToolDragging dragtool = FindMouseTool(typeof(GoToolDragging)) as GoToolDragging; if (dragtool != null) { ... dragtool.ComputeEffectiveSelection(clipsel, false) ... }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2