Share via


PrimarySelectionTaskProvider Class

Provides a set of tasks that are available from the selection tool when a class is in the primary selection.

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

Syntax

'Declaration
<UsesItemPolicyAttribute(GetType(PrimarySelectionPolicy))> _
Public Class PrimarySelectionTaskProvider _
    Inherits TaskProvider
'Usage
Dim instance As PrimarySelectionTaskProvider
[UsesItemPolicyAttribute(typeof(PrimarySelectionPolicy))]
public class PrimarySelectionTaskProvider : TaskProvider
[UsesItemPolicyAttribute(typeof(PrimarySelectionPolicy))]
public ref class PrimarySelectionTaskProvider : public TaskProvider
public class PrimarySelectionTaskProvider extends TaskProvider

Remarks

The PrimarySelectionTaskProvider is enabled for the primarily selected element when SelectionTool is the active tool.

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

PrimarySelectionTaskProvider Members

Microsoft.Windows.Design.Interaction Namespace

PrimarySelectionPolicy

SelectionTool

Other Resources

Feature Providers and Feature Connectors

Tool Architecture

Understanding WPF Designer Extensibility