T
this must implement IDiagramTool
Northwoods.GoSilverlight 1.2.2 Assembly
FindMouseTool<T> Method
See Also  Send Feedback
Northwoods.GoXam Namespace > Diagram Class : FindMouseTool<T> Method

subclass
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

Visual Basic (Declaration) 
Public Function FindMouseTool(Of T As IDiagramTool)( _
   ByVal subclass As Boolean _
) As T
C# 
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 IDiagramTool

Remarks

This searches the MouseDownTools, MouseMoveTools, and MouseUpTools lists.

Requirements

See Also

© 2010 All Rights Reserved.