PlayAnimationBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct PlayAnimationBehavior
Plays a specified Animation when the associated element is attached to the visual tree.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PlayAnimationBehavior>
Returns a strong reference to this object.
animation_property
fn animation_property() -> &'static StyledProperty<Option<Ref<Animation>>>
Identifies the Animation property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
animation
fn animation(self: &Self) -> Option<Ref<Animation>>
Gets or sets the animation that will be played. This is a property of the object model.
set_animation
fn set_animation(self: &Self, value: Option<Ref<Animation>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<PlayAnimationBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplAttachedToVisualTreeBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.