ButtonClickEventTriggerBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ButtonClickEventTriggerBehavior
A behavior that listens for a Button::click_event event on its source and executes its
actions when that event is fired.
The args of the click are the parameter of the actions.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ButtonClickEventTriggerBehavior>
Returns a strong reference to this object.
key_modifiers_property
fn key_modifiers_property() -> &'static StyledProperty<KeyModifiers>
Identifies the KeyModifiers property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
key_modifiers
fn key_modifiers(self: &Self) -> KeyModifiers
Gets or sets the required key modifiers to execute Button::click_event event handler.
This is a property of the object model.
set_key_modifiers
fn set_key_modifiers(self: &Self, value: KeyModifiers)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ButtonClickEventTriggerBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.