VisualDebugBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct VisualDebugBehavior
A behavior that visualizes events on the attached control for debugging purposes: each time
the event fires, the actions run and the control is highlighted for
duration.
Members
TYPEto_refhighlight_color_propertyduration_propertyconstructnewhighlight_colorset_highlight_colordurationset_duration
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<VisualDebugBehavior>
Returns a strong reference to this object.
highlight_color_property
fn highlight_color_property() -> &'static StyledProperty<Color>
Identifies the HighlightColor property.
duration_property
fn duration_property() -> &'static StyledProperty<Duration>
Identifies the Duration property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
highlight_color
fn highlight_color(self: &Self) -> Color
Gets or sets the color used to highlight the control when the event fires.
set_highlight_color
fn set_highlight_color(self: &Self, value: Color)
duration
fn duration(self: &Self) -> Duration
Gets or sets the duration of the highlight.
set_duration
fn set_duration(self: &Self, value: Duration)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtEventTriggerBaseImplExtDerefUpcast<T>Upcast<VisualDebugBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplEventTriggerBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.