WriteableBitmapTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct WriteableBitmapTrigger
A trigger that executes its actions when trigger is called, passing a
WriteableBitmap as parameter.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<WriteableBitmapTrigger>
Returns a strong reference to this object.
bitmap_property
fn bitmap_property() -> &'static StyledProperty<Option<WriteableBitmapRef>>
Identifies the Bitmap property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
bitmap
fn bitmap(self: &Self) -> Option<WriteableBitmapRef>
Gets or sets the bitmap passed to actions. This is a property of the object model.
set_bitmap
fn set_bitmap(self: &Self, value: Option<WriteableBitmapRef>)
trigger
fn trigger(self: &Self)
Manually invokes the trigger.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<WriteableBitmapTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.