ShowOnKeyDownBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ShowOnKeyDownBehavior
A behavior that allows to show control on key down event: the key or the
gesture shows it.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ShowOnKeyDownBehavior>
Returns a strong reference to this object.
key_property
fn key_property() -> &'static StyledProperty<Option<Key>>
Identifies the Key property.
gesture_property
fn gesture_property() -> &'static StyledProperty<Option<KeyGesture>>
Identifies the Gesture property: the key gesture used to trigger the behavior.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
key
fn key(self: &Self) -> Option<Key>
Gets or sets the key. This is a property of the object model.
set_key
fn set_key(self: &Self, value: Option<Key>)
gesture
fn gesture(self: &Self) -> Option<KeyGesture>
Gets or sets the key gesture used to trigger the behavior.
set_gesture
fn set_gesture(self: &Self, value: Option<KeyGesture>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ShowOnKeyDownBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplAttachedToVisualTreeBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.