ScreensChangedTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ScreensChangedTrigger
A trigger that executes its actions when the screen configuration changes.
The actions run in a job of the dispatcher, with EventArgs as the parameter.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ScreensChangedTrigger>
Returns a strong reference to this object.
screens_property
fn screens_property() -> &'static StyledProperty<Option<ScreensRef>>
Identifies the Screens property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
screens
fn screens(self: &Self) -> Option<ScreensRef>
Gets or sets the screens that are observed. This is a property of the object model. If not set, the screens of the top level of the associated object are used.
set_screens
fn set_screens(self: &Self, value: Option<ScreensRef>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeTriggerBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDisposingTriggerImplExtDerefUpcast<T>Upcast<ScreensChangedTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplDisposingTriggerImplAttachedToVisualTreeTriggerBaseImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.