Class RelativeNavigation
- Namespace
 - Nalu
 
- Assembly
 - Nalu.Maui.Navigation.dll
 
Defines a relative navigation.
public class RelativeNavigation : Navigation, INotifyPropertyChanged, IList<INavigationSegment>, ICollection<INavigationSegment>, IRelativeNavigationInitialBuilder, IRelativeNavigationBuilder, IRelativeNavigationPushOnlyBuilder, INavigationInfo, IReadOnlyList<INavigationSegment>, IReadOnlyCollection<INavigationSegment>, IEnumerable<INavigationSegment>, IEnumerable
  - Inheritance
 - 
      
      
      
      RelativeNavigation
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
RelativeNavigation()
Initializes a new instance of the RelativeNavigation class.
public RelativeNavigation()
  RelativeNavigation(NavigationBehavior?)
Initializes a new instance of the RelativeNavigation class with the specified behavior.
public RelativeNavigation(NavigationBehavior? behavior)
  Parameters
behaviorNavigationBehavior?The behavior to use during this relative navigation.
Methods
Pop()
Pops the current page from the navigation stack.
public IRelativeNavigationBuilder Pop()
  Returns
Push<TPage>()
Pushes a new page onto the navigation stack.
public IRelativeNavigationPushOnlyBuilder Push<TPage>() where TPage : class
  Returns
Type Parameters
TPageThe page type to be pushed.
WithIntent(object?)
Sets the intent to be passed on the target page model.
public INavigationInfo WithIntent(object? intent)
  Parameters
intentobjectThe intent object.