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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om