FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    HyperlinkAutomationPeer

    struct · ferroui-controls · v0.5.0

    struct HyperlinkAutomationPeer
    

    Accessibility for a nonvisual hyperlink in a rich document. The owner/name, Invoke and geometry contracts follow WinUI's HyperlinkAutomationPeer; the TextChild projection uses FerroUI's shared live document range service.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<HyperlinkAutomationPeer>
    

    Returns a strong reference to this object.

    Source

    try_owner

    fn try_owner(self: &Self) -> Option<Ref<Hyperlink>>
    

    Source

    text_container

    fn text_container(self: &Self) -> Result<Ref<AutomationPeer>, ProviderError>
    

    Source

    text_range

    fn text_range(self: &Self) -> Result<Rc<dyn ITextRangeProvider>, ProviderError>
    

    Source

    invoke

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

    Source

    Trait implementations

    Availability

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