RenderTargetBitmapTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct RenderTargetBitmapTrigger
Trigger that calls IRenderTargetBitmapRenderHost::render periodically.
The args of the tick (empty event args) are the parameter of the actions.
Members
TYPEto_reftarget_propertymilliseconds_per_tick_propertyconstructnewtargetset_targetmilliseconds_per_tickset_milliseconds_per_tick
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RenderTargetBitmapTrigger>
Returns a strong reference to this object.
target_property
fn target_property() -> &'static StyledProperty<Option<Rc<dyn IRenderTargetBitmapRenderHost>>>
Identifies the Target property.
milliseconds_per_tick_property
fn milliseconds_per_tick_property() -> &'static StyledProperty<i32>
Identifies the MillisecondsPerTick property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
target
fn target(self: &Self) -> Option<Rc<dyn IRenderTargetBitmapRenderHost>>
Gets or sets the render host that should be rendered. This is a property of the object model; markup resolves a name given for it to the named host.
set_target
fn set_target(self: &Self, value: Option<Rc<dyn IRenderTargetBitmapRenderHost>>)
milliseconds_per_tick
fn milliseconds_per_tick(self: &Self) -> i32
Gets or sets the interval, in milliseconds, between render ticks. This is a property of the object model.
set_milliseconds_per_tick
fn set_milliseconds_per_tick(self: &Self, value: i32)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<RenderTargetBitmapTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.