TextInputTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct TextInputTrigger
A trigger of InputElement::text_input_event: runs the actions with the text input args as
the parameter when the text is input (any text when it is not set).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TextInputTrigger>
Returns a strong reference to this object.
text_property
fn text_property() -> &'static StyledProperty<Option<String>>
Identifies the Text property.
Deviation (DEVIATIONS.md, Behaviors): the reference registers this property with
KeyDownTrigger as its owner, so markup does not find it on this trigger; here it is
registered on its own class (defect corrected).
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
text
fn text(self: &Self) -> Option<String>
Gets or sets the text that fires the trigger.
set_text
fn set_text(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeTriggerBaseImplExtRoutedEventTriggerBaseOfTImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDisposingTriggerImplExtDerefUpcast<T>Upcast<TextInputTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingTriggerImplAttachedToVisualTreeTriggerBaseImplRoutedEventTriggerBaseOfTImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.