Expand description
ferroui-xaml-interactions-reactiveui
The ReactiveUI behaviors of FerroUI, ported from the Xaml.Behaviors.Interactions.ReactiveUI
project of Xaml.Behaviors (see NOTICE.md):
- actions that navigate a ReactiveUI router (
ferroui_reactiveui::RoutingState): to a view model (NavigateAction), to a view model with a reset of the stack (NavigateAndReset), back (NavigateBackAction), and the reset of the stack alone (ClearNavigationStackAction); - actions that navigate to a view model of a type, given as the parameter or resolved from the
service locator (
NavigateToAction,NavigateToAndResetAction, with the type as aRoutableViewModelType); - the trigger that executes its actions when a ReactiveUI interaction is handled
(
InteractionTriggerBehavior, with the interaction as anAnyInteraction).
The namespace of the crate is FerroUI.Xaml.Interactions.ReactiveUI, mapped into the default
XML namespace of the framework: documents name its types without a prefix once
register_types ran.
Structs§
- AnyInteraction
- A ReactiveUI interaction (
ferroui_reactiveui::Interaction) of any input and output type, as anInteractionTriggerBehaviorholds it. - Clear
Navigation Stack Action - An action that resets the navigation stack.
- Interaction
Trigger Behavior - A behavior that registers a handler for a ReactiveUI interaction
(
ferroui_reactiveui::Interaction) and executes its actions when the interaction is triggered. - Navigate
Action - An action that navigates to a specified routable view model
(
IRoutableViewModel). - Navigate
AndReset - An action that navigates to a specified routable view model
(
IRoutableViewModel) and resets the navigation stack. - Navigate
Back Action - An action that navigates back in the
RoutingStatestack. - Navigate
ToAction - An action that resolves and navigates to a view model of a type (the
TViewModelof the reference, aRoutableViewModelType). - Navigate
ToActionV Table - The virtual table of the class.
- Navigate
ToAnd Reset Action - An action that resolves and navigates to a view model of a type (the
TViewModelof the reference, aRoutableViewModelType) and clears the navigation stack. - Navigate
ToAnd Reset ActionV Table - The virtual table of the class.
- Routable
View Model Type - The view model type an action resolves and navigates to (the
TViewModelofNavigateToActionandNavigateToAndResetAction).
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§
- Navigate
ToAction Impl - The overridable members introduced by the class.
- Navigate
ToAction Impl Ext - Access to the base implementations of the overridable members.
- Navigate
ToAnd Reset Action Impl - The overridable members introduced by the class.
- Navigate
ToAnd Reset Action Impl Ext - Access to the base implementations of the overridable members.
Functions§
- register_
types - Registers the namespace, the types, the value types and the assembly of this crate (and of the crates it is built on). Cheap and idempotent.