AdornerProvider.IsToolSupported Method
Gets a value indicating if the adorner provider supports the provided Tool.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Function IsToolSupported ( _
tool As Tool _
) As Boolean
public virtual bool IsToolSupported(
Tool tool
)
public:
virtual bool IsToolSupported(
Tool^ tool
)
abstract IsToolSupported :
tool:Tool -> bool
override IsToolSupported :
tool:Tool -> bool
public function IsToolSupported(
tool : Tool
) : boolean
Parameters
- tool
Type: Microsoft.Windows.Design.Interaction.Tool
The Tool to be checked.
Return Value
Type: System.Boolean
true if the adorner provider supports tool; otherwise, false.
Remarks
By default, the IsToolSupported method returns true for SelectionTool.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace