StateTrigger
struct · ferroui-controls · v0.5.0
struct StateTrigger
A trigger that is active while its is_active is true (WinUI's
StateTrigger): a state bound to a condition of the application
(<StateTrigger IsActive="{Binding IsWide}"/>).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<StateTrigger>
Returns a strong reference to this object.
is_active_property
fn is_active_property() -> &'static StyledProperty<bool>
Defines the IsActive property: whether the trigger is active. Default false.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
is_active
fn is_active(self: &Self) -> bool
Whether the trigger is active.
set_is_active
fn set_is_active(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<StateTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.