BehaviorImpl
trait · ferroui-xaml-interactivity · v0.5.0
trait BehaviorImpl: FerroObjectImpl + $crate::Upcast<Behavior>
The overridable members introduced by the class.
Members
on_attachedon_detachingon_attached_to_visual_treeon_detached_from_visual_treeon_attached_to_logical_tree_eventon_detached_from_logical_tree_eventon_loadedon_unloadedon_initialized_eventon_data_context_changed_eventon_resources_changed_eventon_actual_theme_variant_changed_event
on_attached
fn on_attached(this: &Self)
Called after the behavior is attached to the associated object.
Override this to hook up functionality to the associated object.
on_detaching
fn on_detaching(this: &Self)
Called when the behavior is being detached from its associated object.
Override this to unhook functionality from the associated object.
on_attached_to_visual_tree
fn on_attached_to_visual_tree(this: &Self)
Called after the associated object is attached to the visual tree.
Invoked only when the associated object is a visual.
on_detached_from_visual_tree
fn on_detached_from_visual_tree(this: &Self)
Called when the associated object is being detached from the visual tree.
Invoked only when the associated object is a visual.
on_attached_to_logical_tree_event
fn on_attached_to_logical_tree_event(this: &Self)
Called after the associated object is attached to the logical tree
(OnAttachedToLogicalTree).
Invoked only when the associated object is a styled element.
on_detached_from_logical_tree_event
fn on_detached_from_logical_tree_event(this: &Self)
Called when the associated object is being detached from the logical tree
(OnDetachedFromLogicalTree).
Invoked only when the associated object is a styled element.
on_loaded
fn on_loaded(this: &Self)
Called after the associated object is loaded.
Invoked only when the associated object is a control.
on_unloaded
fn on_unloaded(this: &Self)
Called when the associated object is unloaded.
Invoked only when the associated object is a control.
on_initialized_event
fn on_initialized_event(this: &Self)
Called when the associated object is initialized.
Invoked only when the associated object is a styled element.
on_data_context_changed_event
fn on_data_context_changed_event(this: &Self)
Called when the data context of the associated object changed.
Invoked only when the associated object is a styled element.
on_resources_changed_event
fn on_resources_changed_event(this: &Self)
Called when the resources of the associated object changed.
Invoked only when the associated object is a styled element.
on_actual_theme_variant_changed_event
fn on_actual_theme_variant_changed_event(this: &Self)
Called when the actual theme variant of the associated object changed.
Invoked only when the associated object is a styled element.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.