Share via


TaskProvider Class

A feature provider that you can add to a class to automatically add tasks to the active tool.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public MustInherit Class TaskProvider _
    Inherits FeatureProvider
'Usage
Dim instance As TaskProvider
public abstract class TaskProvider : FeatureProvider
public ref class TaskProvider abstract : public FeatureProvider
public abstract class TaskProvider extends FeatureProvider

Remarks

Tasks are added to the tool according to a task provider's policy. You can implement this abstract class to provide Task objects to a particular tool or tools. Tasks can be added to the Tasks property. Implement the IsToolSupported method to indicate if a particular tool is supported by your implementation of TaskProvider.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Features.FeatureProvider
    Microsoft.Windows.Design.Interaction.TaskProvider
      Microsoft.Windows.Design.Interaction.PrimarySelectionTaskProvider

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TaskProvider Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility