ExecuteCommandRoutedEventBehaviorBase
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ExecuteCommandRoutedEventBehaviorBase
The base class of the behaviors that execute a command on a routed event: the routing strategies the handler listens to, and whether the event is marked as handled when the command runs.
The class is abstract.
Members
TYPEto_refevent_routing_strategy_propertyconstructevent_routing_strategyset_event_routing_strategymark_as_handledset_mark_as_handled
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ExecuteCommandRoutedEventBehaviorBase>
Returns a strong reference to this object.
event_routing_strategy_property
fn event_routing_strategy_property() -> &'static StyledProperty<RoutingStrategies>
Identifies the EventRoutingStrategy property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
event_routing_strategy
fn event_routing_strategy(self: &Self) -> RoutingStrategies
Gets or sets the routing strategies the handler of the event listens to.
set_event_routing_strategy
fn set_event_routing_strategy(self: &Self, value: RoutingStrategies)
mark_as_handled
fn mark_as_handled(self: &Self) -> bool
Gets or sets the value the handled flag of the event is set to when the command runs (true by default). This is a plain property, not a property of the object model.
set_mark_as_handled
fn set_mark_as_handled(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtExecuteCommandBehaviorBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ExecuteCommandRoutedEventBehaviorBase>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplAttachedToVisualTreeBehaviorImplExecuteCommandBehaviorBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.