Northwoods.GoWPF 2.2.4 Assembly
FindMouseTool<T> Method

this must implement Northwoods.GoXam.Tool.IDiagramTool
If true, a matching tool may be a subclass of T; otherwise the tool must be of exactly the same type.
Find a mouse tool of a given type.
Syntax
Public Function FindMouseTool(Of T As IDiagramTool)( _
   ByVal subclass As Boolean _
) As T
public T FindMouseTool<T>( 
   bool subclass
)
where T: IDiagramTool

Parameters

subclass
If true, a matching tool may be a subclass of T; otherwise the tool must be of exactly the same type.

Type Parameters

T
this must implement Northwoods.GoXam.Tool.IDiagramTool
Remarks
This searches the MouseDownTools, MouseMoveTools, and MouseUpTools lists.
Requirements
See Also

Reference

Diagram Class
Diagram Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback