KeyDownEventBehavior
struct · ferroui-xaml-interactions-events · v0.5.0
struct KeyDownEventBehavior
Behavior that listens for the InputElement::key_down_event.
The class is abstract: a deriving class overrides KeyDownEventBehaviorImpl::on_key_down.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<KeyDownEventBehavior>
Returns a strong reference to this object.
on_key_down
fn on_key_down(self: &Self, sender: &Interactive, e: &KeyEventArgs)
Called when a key is pressed while the associated control has focus.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeKeyDownEventBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<KeyDownEventBehavior>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplKeyDownEventBehaviorImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.