TextChangingEventArgs
struct · ferroui-controls · v0.5.0
struct TextChangingEventArgs
Provides data specific to a TextBox::text_changing event.
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.
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.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherMarkupTypedCloneDefaultDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.