Udostępnij za pośrednictwem


Microsoft.Windows.Design.Policies Namespace

Provides a way to represent selections and groups of objects on the design surface.

The abstract ItemPolicy class provides an association between a set of items and corresponding feature providers. The PrimarySelectionPolicy class specifies the primarily selected element on the design surface.

Classes

  Class Description
Public class ItemPolicy A policy that specifies a set of rules in the designer.
Public class PolicyAddedEventArgs Infrastructure. Provides data for the PolicyAddedEventArgs event.
Public class PolicyItemsChangedEventArgs Provides data for the PolicyItemsChanged event.
Public class PrimarySelectionPolicy A policy that specifies the primarily selected element.
Public class SecondarySelectionPolicy A policy that specifies all items in the selection that are not the primary selection.
Public class SelectionParentPolicy A policy that specifies the set of unique parents for the current set of selected items.
Public class SelectionPolicy A policy that makes all items in the selection available.
Public class UsesItemPolicyAttribute Restricts a feature provider to a specified policy.