public sealed record NavigationRegionOptions : IEquatable<NavigationRegionOptions> Configures a region: what happens to it while the entry that owns it is retained, and how it admits requests.
Parameters
WhileParentRetainedThe policy applied when a push retains the owning entry.
Constructors
NavigationRegionOptions
public NavigationRegionOptions(NavigationChildRetention WhileParentRetained = NavigationChildRetention.Keep) Configures a region: what happens to it while the entry that owns it is retained, and how it admits requests.
Parameters
WhileParentRetainedThe policy applied when a push retains the owning entry.
Properties
Admission
public NavigationAdmission Admission { get; init; } Gets how the region admits a request while an earlier one runs. The default, NavigationAdmission.Supersede, lets a later request supersede earlier ones that have not committed.
AskOnParentRetain
public bool AskOnParentRetain { get; init; } Gets whether a push that retains the entry owning this region asks the region's current entry, and the current entries of the regions below it, as NavigationDepartureKind.Retain, before the retained entry's own guard; false by default. It applies while the region keeps its entries under the retained entry: with NavigationChildRetention.Keep, or for a region of borrowed content. In a NavigationSelection, the selected region's setting decides, and only the selected region is asked.
Remarks
A page whose tabs each keep a stack sets it on the tab regions so that a page pushed over it asks the shown tab's page, as a tab switch does. The region joins the push's basis without being superseded or changed: a commit in it while the push's guards run supersedes the push. Its region guards are asked by their NavigationRegionGuardOptions.AskOnRetain.
WhileParentRetained
public NavigationChildRetention WhileParentRetained { get; init; } The policy applied when a push retains the owning entry.