FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    peer

    fn peer(self: &Self) -> Ref<AutomationPeer>
    

    The automation peer that provides this contract.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.