FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextChangingEventArgs

    struct · ferroui-controls · v0.5.0

    struct TextChangingEventArgs
    

    Provides data specific to a TextBox::text_changing event.

    View source

    Members

    with_event

    fn with_event<T: ?Sized>(routed_event: &RoutedEvent<T>) -> Self
    

    Initializes a new instance of the TextChangingEventArgs class.

    routed_event is the routed event associated with these event args.

    Source

    with_event_and_source

    fn with_event_and_source<T: ?Sized>(routed_event: &RoutedEvent<T>, source: impl Into<Nullable<FerroObject>>) -> Self
    

    Initializes a new instance of the TextChangingEventArgs class.

    routed_event is the routed event associated with these event args, source the source object that raised the routed event.

    Source

    text_change

    fn text_change(self: &Self) -> Option<&TextBoxTextChange>
    

    Native replacement coordinates, when known. External Text assignments, undo/redo synchronization and coercions may have no single edit range.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • MarkupTyped
    • Clone
    • Default
    • Deref
    • IRoutedEventArgs

    Availability

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