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