CarouselPreviousAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct CarouselPreviousAction
Moves the target Carousel to the previous page.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CarouselPreviousAction>
Returns a strong reference to this object.
carousel_property
fn carousel_property() -> &'static StyledProperty<Option<ElementRef<Carousel>>>
Identifies the Carousel property.
Deviation (DEVIATIONS.md, Behaviors): the action does not own the carousel, 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.
carousel
fn carousel(self: &Self) -> Option<Ref<Carousel>>
Gets or sets the carousel instance this action will operate on. This is a property of the object model. Markup resolves a name given for it to the named element.
set_carousel
fn set_carousel(self: &Self, value: impl Into<Nullable<Carousel>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<CarouselPreviousAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.