StartAnimationAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct StartAnimationAction
Starts an Animation on the associated control.
The action is a plain object of the object model (not a styled element) that implements the action contract.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<StartAnimationAction>
Returns a strong reference to this object.
animation_property
fn animation_property() -> &'static StyledProperty<Option<Ref<Animation>>>
Gets or sets the animation to run.
construct
fn construct() -> Self
Creates the class data; see FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
animation
fn animation(self: &Self) -> Option<Ref<Animation>>
The animation to run.
set_animation
fn set_animation(self: &Self, value: Option<Ref<Animation>>)
execute
fn execute(self: &Self, sender: Option<&BoxedValue>, _parameter: Option<&BoxedValue>) -> Option<BoxedValue>
Executes the action: sender is the control initiating the action, parameter an optional
parameter.
Returns true if the animation was started; otherwise, false.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<StartAnimationAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplIAction
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.