Skip to content

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

NameDescription
TType of ViewModel.

Parameters

NameTypeDescription
contract = nullstring?The viewmodel contract.
parameter = nullobject?The navigation parameter.
breadcrumbItemContent = nullstring?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

NameTypeDescription
typeTypeType of ViewModel.
contract = nullstring?The viewmodel contract.
parameter = nullobject?The navigation parameter.
breadcrumbItemContent = nullstring?Content of the breadcrumb item.