This documentation is archived and is not being maintained.
SelectionItemPattern Class
Visual Studio 2010
Represents selectable child items of container controls that support SelectionPattern.
System::Object
System.Windows.Automation::BasePattern
System.Windows.Automation::SelectionItemPattern
System.Windows.Automation::BasePattern
System.Windows.Automation::SelectionItemPattern
Assembly: UIAutomationClient (in UIAutomationClient.dll)
The SelectionItemPattern type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AddToSelection | Adds the current element to the collection of selected items. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Frees resources and performs other cleanup operations before the object is reclaimed by garbage collection. (Inherited from BasePattern.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveFromSelection | Removes the current element from the collection of selected items. |
![]() | Select | Deselects any selected items and then selects the current element. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ElementAddedToSelectionEvent | Identifies the event raised when an item is added to a collection of selected items. |
![]() ![]() | ElementRemovedFromSelectionEvent | Identifies the event raised when an item is removed from a collection of selected items. |
![]() ![]() | ElementSelectedEvent | Identifies the event that is raised when a call to any of Select, AddToSelection, or RemoveFromSelection results in a single item being selected. |
![]() ![]() | IsSelectedProperty | Identifies the IsSelected property. |
![]() ![]() | Pattern | Identifies the SelectionItemPattern control pattern. |
![]() ![]() | SelectionContainerProperty | Identifies the SelectionContainer property. |
See Control Pattern Mapping for UI Automation Clients for examples of controls that can implement this control pattern.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
