Share via


TaskProvider.IsToolSupported Method

Returns a value indicating whether this task provider supports the specified 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 specified tool is supported; otherwise, false.

Remarks

By default, this method returns true for SelectionTool.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility