StyledElementTrigger
struct · ferroui-xaml-interactivity · v0.5.0
struct StyledElementTrigger
A base class for behaviors, implementing the basic plumbing of ITrigger.
The actions are a styled property, so a style can replace them (an
ActionCollectionTemplate in a setter). While the trigger
is in the logical tree its styled element actions are its logical children (one way), so they
bind against the trigger and the host.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<StyledElementTrigger>
Returns a strong reference to this object.
actions_property
fn actions_property() -> &'static StyledProperty<Option<ActionCollection>>
Identifies the Actions property.
construct
fn construct() -> Self
Creates the class data; see FerroObject::construct.
actions
fn actions(self: &Self) -> Option<ActionCollection>
Gets or sets the collection of actions associated with the behavior. This is a property of the object model.
set_actions
fn set_actions(self: &Self, value: Option<ActionCollection>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeStyledElementBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<StyledElementTrigger>StaticTypeObjectTypeSubclassable<T>StyledElementImplFerroObjectImplStyledElementBehaviorImplIBehaviorITrigger
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.