Share via


SelectionParentPolicy Members

Include Protected Members
Include Inherited Members

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

The SelectionParentPolicy type exposes the following members.

Constructors

 

Name

Description

Public method

SelectionParentPolicy

Initializes a new instance of the SelectionParentPolicy class.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetPolicyItems

Overrides the default GetPolicyItems method to return the unique parents of the specified selection. (Overrides SelectionPolicy.GetPolicyItems(Selection).)

Public method

GetSurrogateItems

Returns an optional set of surrogate items for this item. (Inherited from ItemPolicy.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

IsInPolicy

Overloaded. Evaluates whether the specified parent item is to be included in the policy.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnActivated

Called when this policy is activated. (Inherited from SelectionPolicy.)

Protected method

OnDeactivated

Called when this policy is deactivated. (Inherited from SelectionPolicy.)

Protected method

OnPolicyItemsChanged

Raises the PolicyItemsChanged event. (Inherited from ItemPolicy.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Context

Gets the editing context for the designer. (Inherited from ItemPolicy.)

Public property

IsSurrogate

Gets a value indicating whether the policy is a surrogate policy. (Inherited from ItemPolicy.)

Public property

PolicyItems

Gets an enumeration of items that are affected by this policy. (Inherited from SelectionPolicy.)

Top

Events

 

Name

Description

Public event

PolicyItemsChanged

Occurs when the policy changes. (Inherited from ItemPolicy.)

Top

See Also

Reference

SelectionParentPolicy Class

Microsoft.Windows.Design.Policies Namespace