AddTransitionAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct AddTransitionAction
Adds a TransitionBase to the transitions collection on the target element.
Members
TYPEto_reftransition_propertystyled_element_propertyconstructnewtransitionset_transitionstyled_elementset_styled_element
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AddTransitionAction>
Returns a strong reference to this object.
transition_property
fn transition_property() -> &'static StyledProperty<Option<Ref<TransitionBase>>>
Identifies the Transition property.
styled_element_property
fn styled_element_property() -> &'static StyledProperty<Option<ElementRef<StyledElement>>>
Identifies the StyledElement property.
Deviation (DEVIATIONS.md, Behaviors): the action does not own the element, 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.
transition
fn transition(self: &Self) -> Option<Ref<TransitionBase>>
Gets or sets the transition to add. This is a property of the object model.
set_transition
fn set_transition(self: &Self, value: Option<Ref<TransitionBase>>)
styled_element
fn styled_element(self: &Self) -> Option<Ref<StyledElement>>
Gets or sets the target styled element. This is a property of the object model; markup resolves a name given for it to the named element.
set_styled_element
fn set_styled_element(self: &Self, value: impl Into<Nullable<StyledElement>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<AddTransitionAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.