NavigateAction
struct · ferroui-xaml-interactions-reactiveui · v0.5.0
struct NavigateAction
An action that navigates to a specified routable view model
(IRoutableViewModel).
Members
TYPEto_refrouter_propertyview_model_propertyconstructnewrouterset_routerview_modelset_view_model
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<NavigateAction>
Returns a strong reference to this object.
router_property
fn router_property() -> &'static StyledProperty<Option<Rc<RoutingState>>>
Identifies the Router property.
view_model_property
fn view_model_property() -> &'static StyledProperty<Option<RoutableViewModel>>
Identifies the ViewModel property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the action.
router
fn router(self: &Self) -> Option<Rc<RoutingState>>
Gets or sets the router used for navigation. This is a property of the object model.
set_router
fn set_router(self: &Self, value: Option<Rc<RoutingState>>)
view_model
fn view_model(self: &Self) -> Option<RoutableViewModel>
Gets or sets the view model to navigate to. This is a property of the object model.
set_view_model
fn set_view_model(self: &Self, value: Option<RoutableViewModel>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<NavigateAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.