FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigateAndReset

    struct · ferroui-xaml-interactions-reactiveui · v0.5.0

    struct NavigateAndReset
    

    An action that navigates to a specified routable view model (IRoutableViewModel) and resets the navigation stack.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<NavigateAndReset>
    

    Returns a strong reference to this object.

    Source

    router_property

    fn router_property() -> &'static StyledProperty<Option<Rc<RoutingState>>>
    

    Identifies the Router property.

    Source

    view_model_property

    fn view_model_property() -> &'static StyledProperty<Option<RoutableViewModel>>
    

    Identifies the ViewModel property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates the action.

    Source

    router

    fn router(self: &Self) -> Option<Rc<RoutingState>>
    

    Gets or sets the router used for navigation. This is a property of the object model.

    Source

    set_router

    fn set_router(self: &Self, value: Option<Rc<RoutingState>>)
    

    Source

    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.

    Source

    set_view_model

    fn set_view_model(self: &Self, value: Option<RoutableViewModel>)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.