Share via


SelectionParentPolicy Class

A policy that specifies the set of unique parents for the current set of selected items.

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

Syntax

'Declaration
Public Class SelectionParentPolicy _
    Inherits SelectionPolicy
'Usage
Dim instance As SelectionParentPolicy
public class SelectionParentPolicy : SelectionPolicy
public ref class SelectionParentPolicy : public SelectionPolicy
public class SelectionParentPolicy extends SelectionPolicy

Remarks

The SelectionParentPolicy class specifies the immediate parents of the selected items. The set consists of unique parent items. Therefore, no parents appear more than one time.

The PrimarySelectionPolicy is an ItemPolicy that is enabled for the primarily selected element when SelectionTool is the active tool.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Policies.ItemPolicy
    Microsoft.Windows.Design.Policies.SelectionPolicy
      Microsoft.Windows.Design.Policies.SelectionParentPolicy

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

SelectionParentPolicy Members

Microsoft.Windows.Design.Policies Namespace

ItemPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility