Expand description
ferroui-xaml-behaviors
The behaviors, triggers and actions of FerroUI in one crate, as the Xaml.Behaviors bundle of
Xaml.Behaviors (see NOTICE.md) is one package: each crate of the port is a module of this one,
behind a feature, and register_types registers all that are enabled.
| Module | Crate | Feature |
|---|---|---|
interactivity | ferroui-xaml-interactivity (the object model: Interaction.Behaviors, behaviors, triggers, actions) | always |
animations | ferroui-xaml-behaviors-animations | animations |
interactions | ferroui-xaml-interactions (event, data and timer triggers, property, method and command actions, clipboard, pickers) | interactions |
custom | ferroui-xaml-interactions-custom (about 330 behaviors for controls, input, focus, validation, windows, …) | custom |
events | ferroui-xaml-interactions-events (a trigger and a behavior per input routed event) | events |
draggable | ferroui-xaml-interactions-draggable | draggable |
drag_and_drop | ferroui-xaml-interactions-draganddrop | drag-and-drop |
responsive | ferroui-xaml-interactions-responsive | responsive |
reactiveui | ferroui-xaml-interactions-reactiveui | reactiveui (off by default) |
The default features are the crates of the reference’s bundle; ReactiveUI is a package of its
own there and a feature that is off here. All types are in the default XML namespace of the
framework once register_types ran, so documents name them without a prefix.
Re-exports§
pub use ferroui_xaml_interactivity as interactivity;pub use ferroui_xaml_behaviors_animations as animations;pub use ferroui_xaml_interactions_custom as custom;pub use ferroui_xaml_interactions_draganddrop as drag_and_drop;pub use ferroui_xaml_interactions_draggable as draggable;pub use ferroui_xaml_interactions_events as events;pub use ferroui_xaml_interactions as interactions;pub use ferroui_xaml_interactions_responsive as responsive;
Functions§
- register_
types - Registers the types of every enabled behavior crate for markup (and of the crates they are built on). Cheap and idempotent; call it before loading or compiling documents that use behaviors.