Share via


Selection Members

Include Protected Members
Include Inherited Members

Represents a set of objects selected by a user in a designer.

The Selection type exposes the following members.

Constructors

 

Name

Description

Public method

Selection

Overloaded. Initializes a new instance of the Selection 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.)

Public method

GetType

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

Protected method

MemberwiseClone

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

Protected method

OnItemChanged

Called on a context item before it is stored in the context item manager. (Inherited from ContextItem.)

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

ItemType

Gets the type of Selection. (Overrides ContextItem.ItemType.)

Public property

PrimarySelection

Gets the primary selection object.

Public property

SelectedObjects

Gets an enumeration of the objects in the selection.

Public property

SelectionCount

Gets the number of objects in the selection.

Top

See Also

Reference

Selection Class

Microsoft.Windows.Design.Interaction Namespace