ISelectionProvider
trait · ferroui-controls · v0.5.0
trait ISelectionProvider
Exposes methods and properties to support access by a UI Automation client to controls that act as containers for a collection of individual, selectable child items.
Members
peer
fn peer(self: &Self) -> Ref<AutomationPeer>
The automation peer that provides this contract.
can_select_multiple
fn can_select_multiple(self: &Self) -> bool
Gets a value that indicates whether the provider allows more than one child element to be selected concurrently.
Windows: ISelectionProvider.CanSelectMultiple. macOS: no mapping.
is_selection_required
fn is_selection_required(self: &Self) -> bool
Gets a value that indicates whether the provider requires at least one child element to be selected.
Windows: ISelectionProvider.IsSelectionRequired. macOS: no mapping.
get_selection
fn get_selection(self: &Self) -> Vec<Ref<AutomationPeer>>
Retrieves a provider for each child element that is selected.
Windows: ISelectionProvider.GetSelection.
macOS: NSAccessibilityProtocol.accessibilitySelectedChildren.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.