BreadcrumbBar.NavigateTo(string?, object?, string?) method¶
Defined in
Type: BreadcrumbBar
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Overloads¶
- 1.
public void NavigateTo<T>(string? contract = null, object? parameter = null, string? breadcrumbItemContent = null) where T : class, IRxObject - 2.
public void NavigateTo(Type type, string? contract = null, object? parameter = null, string? breadcrumbItemContent = null)
1. Overload¶
public void NavigateTo<T>(string? contract = null, object? parameter = null, string? breadcrumbItemContent = null) where T : class, IRxObject
Summary: Navigates to the specified view as registered to the viewmodel and updates the Breadcrumb.
Type parameters
| Name | Description |
|---|---|
T | Type of ViewModel. |
Parameters
| Name | Type | Description |
|---|---|---|
contract = null | string? | The viewmodel contract. |
parameter = null | object? | The navigation parameter. |
breadcrumbItemContent = null | string? | Content of the breadcrumb item. |
2. Overload¶
public void NavigateTo(Type type, string? contract = null, object? parameter = null, string? breadcrumbItemContent = null)
Summary: Navigates to the specified view as registered to the viewmodel and updates the Breadcrumb.
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | Type of ViewModel. |
contract = null | string? | The viewmodel contract. |
parameter = null | object? | The navigation parameter. |
breadcrumbItemContent = null | string? | Content of the breadcrumb item. |