FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ITextProvider2

    trait · ferroui-controls · v0.5.0

    trait ITextProvider2: ITextProvider
    

    The additional operations of the WinUI/UI Automation Text2 pattern. Text ranges use the same live document and UTF-16 coordinates as Text.

    View source

    Members

    range_from_annotation

    fn range_from_annotation(self: &Self, annotation: &Ref<AutomationPeer>) -> Result<Rc<dyn ITextRangeProvider>, ProviderError>
    

    Source

    get_caret_range

    fn get_caret_range(self: &Self) -> Result<TextCaretRange, ProviderError>
    

    Source

    Trait implementations

    Availability

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