FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IInvokeProvider

    trait · ferroui-controls · v0.5.0

    trait IInvokeProvider
    

    Exposes methods and properties to support UI Automation client access to controls that initiate or perform a single, unambiguous action and do not maintain state when activated.

    View source

    Members

    peer

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

    The automation peer that provides this contract.

    Source

    invoke

    fn invoke(self: &Self) -> Result<(), ElementNotEnabledError>
    

    Sends a request to activate a control and initiate its single, unambiguous action.

    Windows: IInvokeProvider.Invoke. macOS: NSAccessibilityProtocol.accessibilityPerformPress.

    Source

    Trait implementations

    Availability

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