Uređivanje

Dijeli putem


ISelectionItemProvider Interface

Definition

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