FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FocusBehaviorBaseImpl

    trait · ferroui-xaml-interactions-custom · v0.5.0

    trait FocusBehaviorBaseImpl: AttachedToVisualTreeBehaviorImpl + $crate::Upcast<FocusBehaviorBase>
    

    The overridable members introduced by the class.

    View source

    Members

    focus

    fn focus(this: &Self) -> bool
    

    Focuses the associated control, in a job of the dispatcher.

    Returns true when the focus is requested; false when the behavior is disabled.

    Source

    Trait implementations

    Availability

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