ThemeVariantBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ThemeVariantBehavior
Sets the requested theme variant of the associated ThemeVariantScope while it is in the
visual tree, and restores the previous one when it leaves it.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ThemeVariantBehavior>
Returns a strong reference to this object.
theme_variant_property
fn theme_variant_property() -> &'static StyledProperty<Option<ThemeVariant>>
Identifies the ThemeVariant property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
theme_variant
fn theme_variant(self: &Self) -> Option<ThemeVariant>
Gets or sets the theme variant to assign. This is a property of the object model.
set_theme_variant
fn set_theme_variant(self: &Self, value: Option<ThemeVariant>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ThemeVariantBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplAttachedToVisualTreeBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.