FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AutoSuggestBoxTextChangedEventArgs

    struct · ferroui-controls · v0.5.0

    struct AutoSuggestBoxTextChangedEventArgs
    

    The arguments of the TextChanged event of an AutoSuggestBox (WinUI's AutoSuggestBoxTextChangedEventArgs): the reason, and whether the text is still the one of the change. The arguments do not keep the box alive.

    View source

    Members

    reason

    fn reason(self: &Self) -> AutoSuggestionBoxTextChangeReason
    

    Why the text changed.

    Source

    set_reason

    fn set_reason(self: &Self, value: AutoSuggestionBoxTextChangeReason)
    

    Sets why the text changed.

    Source

    check_current

    fn check_current(self: &Self) -> bool
    

    Whether the text of the box has not changed since the change of these arguments (WinUI's CheckCurrent): false as soon as a newer change happens, before its event is raised.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • PartialEq
    • MarkupTyped

    Availability

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