Class AbsoluteNavigation
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Navigation.dll
Defines an absolute navigation.
public class AbsoluteNavigation : Navigation, INotifyPropertyChanged, IList<INavigationSegment>, ICollection<INavigationSegment>, IAbsoluteNavigationBuilder, IAbsoluteNavigationInitialBuilder, INavigationInfo, IReadOnlyList<INavigationSegment>, IReadOnlyCollection<INavigationSegment>, IEnumerable<INavigationSegment>, IEnumerable
- Inheritance
-
AbsoluteNavigation
- Implements
- Inherited Members
- Extension Methods
Constructors
AbsoluteNavigation()
Initializes a new instance of the AbsoluteNavigation class.
public AbsoluteNavigation()
AbsoluteNavigation(NavigationBehavior?)
Initializes a new instance of the AbsoluteNavigation class with the specified behavior.
public AbsoluteNavigation(NavigationBehavior? behavior)
Parameters
behaviorNavigationBehavior?Custom navigation behavior.
Methods
Root<TPage>()
Navigates to TPage root page using the specified type.
public IAbsoluteNavigationBuilder Root<TPage>() where TPage : class
Returns
Type Parameters
TPageThe type of page used on the
ShellContent.
Root<TPage>(string)
Navigates to TPage root page marked with a custom route.
public IAbsoluteNavigationBuilder Root<TPage>(string customRoute) where TPage : class
Parameters
customRoutestringThe custom route defined on
Routeproperty ofShellContent.
Returns
Type Parameters
TPageThe type of page used on the
ShellContent.
ShellContent<TPage>()
Navigates to TPage shell content using the specified type.
public IAbsoluteNavigationBuilder ShellContent<TPage>() where TPage : class
Returns
Type Parameters
TPageThe type of page used on the
ShellContent.
ShellContent<TPage>(string)
Navigates to TPage shell content marked with a custom route.
public IAbsoluteNavigationBuilder ShellContent<TPage>(string customRoute) where TPage : class
Parameters
customRoutestringThe custom route defined on
Routeproperty ofShellContent.
Returns
Type Parameters
TPageThe type of page used on the
ShellContent.