Expand description
ferroui-xaml-interactions-events
Behaviors and triggers of the input routed events of FerroUI, ported from the
Xaml.Behaviors.Interactions.Events project of Xaml.Behaviors (see NOTICE.md):
- a trigger per input event (
TappedEventTrigger,KeyDownEventTrigger,PointerPressedEventTrigger,DropEventTrigger, ..), which runs its actions with the args of the event as their parameter; - an abstract behavior per input event (
TappedEventBehavior,KeyDownEventBehavior, ..), whose deriving classes override the hook of the event (on_tapped,on_key_down, ..); PointerEventsTriggerandPointerEventsBehavior, which listen for the pressed, released and moved pointer events together.
The behaviors and triggers add their handler to the associated object when it is attached to
the visual tree and remove it when it is detached, with the routing strategies of their
RoutingStrategies property (by default those of the event they listen for).
The namespace of the crate is FerroUI.Xaml.Interactions.Events, mapped into the default XML
namespace of the framework: documents name its types without a prefix once
register_types ran.
Structs§
- Double
Tapped Event Behavior - Behavior that listens for
InputElement::double_tapped_event. - Double
Tapped Event BehaviorV Table - The virtual table of the class.
- Double
Tapped Event Trigger - Trigger that listens for
InputElement::double_tapped_event. - Drag
Enter Event Trigger - Trigger that listens for the
DragDrop::drag_enter_event. - Drag
Leave Event Trigger - Trigger that listens for the
DragDrop::drag_leave_event. - Drag
Over Event Trigger - Trigger that listens for the
DragDrop::drag_over_event. - Drop
Event Trigger - Trigger that listens for the
DragDrop::drop_event. - GotFocus
Event Behavior - Behavior that handles the
InputElement::got_focus_event. - GotFocus
Event BehaviorV Table - The virtual table of the class.
- GotFocus
Event Trigger - Trigger that listens for the
InputElement::got_focus_event. - KeyDown
Event Behavior - Behavior that listens for the
InputElement::key_down_event. - KeyDown
Event BehaviorV Table - The virtual table of the class.
- KeyDown
Event Trigger - Trigger that listens for the
InputElement::key_down_event. - KeyUp
Event Behavior - Behavior that listens for the
InputElement::key_up_event. - KeyUp
Event BehaviorV Table - The virtual table of the class.
- KeyUp
Event Trigger - Trigger that listens for the
InputElement::key_up_event. - Lost
Focus Event Behavior - Behavior that handles the
InputElement::lost_focus_event. - Lost
Focus Event BehaviorV Table - The virtual table of the class.
- Lost
Focus Event Trigger - Trigger that listens for the
InputElement::lost_focus_event. - Pointer
Capture Lost Event Behavior - Behavior that listens for the
InputElement::pointer_capture_lost_event. - Pointer
Capture Lost Event BehaviorV Table - The virtual table of the class.
- Pointer
Capture Lost Event Trigger - Trigger that listens for the
InputElement::pointer_capture_lost_event. - Pointer
Entered Event Behavior - Behavior that handles the
InputElement::pointer_entered_event. - Pointer
Entered Event BehaviorV Table - The virtual table of the class.
- Pointer
Entered Event Trigger - Trigger that listens for the
InputElement::pointer_entered_event. - Pointer
Events Behavior - Behavior that listens for multiple pointer events.
- Pointer
Events BehaviorV Table - The virtual table of the class.
- Pointer
Events Trigger - Trigger that listens for multiple pointer events.
- Pointer
Exited Event Behavior - Behavior that handles the
InputElement::pointer_exited_event. - Pointer
Exited Event BehaviorV Table - The virtual table of the class.
- Pointer
Exited Event Trigger - Trigger that listens for the
InputElement::pointer_exited_event. - Pointer
Moved Event Behavior - Behavior that handles the
InputElement::pointer_moved_event. - Pointer
Moved Event BehaviorV Table - The virtual table of the class.
- Pointer
Moved Event Trigger - Trigger that listens for the
InputElement::pointer_moved_event. - Pointer
Pressed Event Behavior - Behavior that handles the
InputElement::pointer_pressed_event. - Pointer
Pressed Event BehaviorV Table - The virtual table of the class.
- Pointer
Pressed Event Trigger - Trigger that listens for the
InputElement::pointer_pressed_event. - Pointer
Released Event Behavior - Behavior that handles the
InputElement::pointer_released_event. - Pointer
Released Event BehaviorV Table - The virtual table of the class.
- Pointer
Released Event Trigger - Trigger that listens for the
InputElement::pointer_released_event. - Pointer
Wheel Changed Event Behavior - Behavior that handles the
InputElement::pointer_wheel_changed_event. - Pointer
Wheel Changed Event BehaviorV Table - The virtual table of the class.
- Pointer
Wheel Changed Event Trigger - Trigger that listens for the
InputElement::pointer_wheel_changed_event. - Right
Tapped Event Behavior - Behavior that handles the
InputElement::right_tapped_event. - Right
Tapped Event BehaviorV Table - The virtual table of the class.
- Right
Tapped Event Trigger - Trigger that listens for the
InputElement::right_tapped_event. - Scroll
Gesture Ended Event Behavior - Behavior that handles the
InputElement::scroll_gesture_ended_event. - Scroll
Gesture Ended Event BehaviorV Table - The virtual table of the class.
- Scroll
Gesture Ended Event Trigger - Trigger that listens for the
InputElement::scroll_gesture_ended_event. - Scroll
Gesture Event Behavior - Behavior that handles the
InputElement::scroll_gesture_event. - Scroll
Gesture Event BehaviorV Table - The virtual table of the class.
- Scroll
Gesture Event Trigger - Trigger that listens for the
InputElement::scroll_gesture_event. - Tapped
Event Behavior - Behavior that handles the
InputElement::tapped_event. - Tapped
Event BehaviorV Table - The virtual table of the class.
- Tapped
Event Trigger - Trigger that listens for the
InputElement::tapped_event. - Text
Input Event Behavior - Behavior that listens for the
InputElement::text_input_event. - Text
Input Event BehaviorV Table - The virtual table of the class.
- Text
Input Event Trigger - Trigger that listens for the
InputElement::text_input_event. - Text
Input Method Client Requested Event Behavior - Behavior that handles the
InputElement::text_input_method_client_requested_event. - Text
Input Method Client Requested Event BehaviorV Table - The virtual table of the class.
- Text
Input Method Client Requested Event Trigger - Trigger that listens for the
InputElement::text_input_method_client_requested_event.
Statics§
- ASSEMBLY
- What this crate states about itself for markup: its assembly name and the namespace the XML namespace of the framework maps to.
Traits§
- Double
Tapped Event Behavior Impl - The overridable members introduced by the class.
- Double
Tapped Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- GotFocus
Event Behavior Impl - The overridable members introduced by the class.
- GotFocus
Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- KeyDown
Event Behavior Impl - The overridable members introduced by the class.
- KeyDown
Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- KeyUp
Event Behavior Impl - The overridable members introduced by the class.
- KeyUp
Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Lost
Focus Event Behavior Impl - The overridable members introduced by the class.
- Lost
Focus Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Capture Lost Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Capture Lost Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Entered Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Entered Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Events Behavior Impl - The overridable members introduced by the class.
- Pointer
Events Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Exited Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Exited Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Moved Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Moved Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Pressed Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Pressed Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Released Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Released Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Pointer
Wheel Changed Event Behavior Impl - The overridable members introduced by the class.
- Pointer
Wheel Changed Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Right
Tapped Event Behavior Impl - The overridable members introduced by the class.
- Right
Tapped Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Scroll
Gesture Ended Event Behavior Impl - The overridable members introduced by the class.
- Scroll
Gesture Ended Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Scroll
Gesture Event Behavior Impl - The overridable members introduced by the class.
- Scroll
Gesture Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Tapped
Event Behavior Impl - The overridable members introduced by the class.
- Tapped
Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Text
Input Event Behavior Impl - The overridable members introduced by the class.
- Text
Input Event Behavior Impl Ext - Access to the base implementations of the overridable members.
- Text
Input Method Client Requested Event Behavior Impl - The overridable members introduced by the class.
- Text
Input Method Client Requested Event Behavior Impl Ext - Access to the base implementations of the overridable members.
Functions§
- register_
types - Registers the namespace, the types and the assembly of this crate (and of the crates it is built on). Cheap and idempotent.