FocusControlBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct FocusControlBehavior
Focuses the associated control when focus_flag becomes true, or when it
is attached to the visual tree while the flag is set.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<FocusControlBehavior>
Returns a strong reference to this object.
focus_flag_property
fn focus_flag_property() -> &'static StyledProperty<bool>
Identifies the FocusFlag property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
focus_flag
fn focus_flag(self: &Self) -> bool
Gets or sets whether the associated control is focused. This is a property of the object model.
set_focus_flag
fn set_focus_flag(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<FocusControlBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplFerroObjectImplAttachedToVisualTreeBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.