ISelectionItemProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exposes methods and properties to support UI Automation client access to individual, selectable child controls of containers that implement ISelectionProvider.
public interface class ISelectionItemProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("2acad808-b2d4-452d-a407-91ff1ad167b2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ISelectionItemProvider
public interface ISelectionItemProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("2acad808-b2d4-452d-a407-91ff1ad167b2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ISelectionItemProvider = interface
type ISelectionItemProvider = interface
Public Interface ISelectionItemProvider
- Derived
- Attributes
Remarks
Implemented on a UI Automation provider that must support the SelectionItemPattern control pattern.
Properties
IsSelected |
Gets a value that indicates whether an item is selected. |
SelectionContainer |
Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object. |
Methods
AddToSelection() |
Adds the current element to the collection of selected items. |
RemoveFromSelection() |
Removes the current element from the collection of selected items. |
Select() |
Deselects any selected items and then selects the current element. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for