Table of Contents

Struct BrowserNavigationOptions

Namespace
Blazing.Mvvm.ComponentModel
Assembly
Blazing.Mvvm.Base.dll

Represents options for browser navigation in Blazor applications, including force load, history entry replacement, and custom history state.

public readonly struct BrowserNavigationOptions

Properties

ForceLoad

Gets or sets a value indicating whether to bypass client-side routing and force the browser to load the new page from the server, even if the URI would normally be handled by the client-side router.

public bool ForceLoad { get; init; }

Property Value

bool

HistoryEntryState

Gets or sets the custom state to append to the browser history entry.

public string? HistoryEntryState { get; init; }

Property Value

string?

ReplaceHistoryEntry

Gets or sets a value indicating whether to replace the current entry in the browser history stack. If true, replaces the current entry; if false, appends a new entry.

public bool ReplaceHistoryEntry { get; init; }

Property Value

bool