BeginAnimationAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct BeginAnimationAction
Starts an Animation on a specified control when executed.
Members
TYPEto_refanimation_propertytarget_control_propertyconstructnewanimationset_animationtarget_controlset_target_control
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<BeginAnimationAction>
Returns a strong reference to this object.
animation_property
fn animation_property() -> &'static StyledProperty<Option<Ref<Animation>>>
Identifies the Animation property.
target_control_property
fn target_control_property() -> &'static StyledProperty<Option<ElementRef<Control>>>
Identifies the TargetControl property.
Deviation (DEVIATIONS.md, Behaviors): the action does not own the control, so the value is an element reference.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
animation
fn animation(self: &Self) -> Option<Ref<Animation>>
Gets or sets the animation to run. This is a property of the object model, and the content of the action in markup.
set_animation
fn set_animation(self: &Self, value: Option<Ref<Animation>>)
target_control
fn target_control(self: &Self) -> Option<Ref<Control>>
Gets or sets the control on which the animation will run. This is a property of the object model; markup resolves a name given for it to the named control.
set_target_control
fn set_target_control(self: &Self, value: impl Into<Nullable<Control>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<BeginAnimationAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.