Share via


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

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

See Also

Reference

AdornerProvider Class

Microsoft.Windows.Design.Interaction Namespace

Tool

SelectionTool

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors

Walkthrough: Creating a Design-time Adorner