Skip to content

BreadcrumbBar.NavigateTo(string?, object?, string?) method

Defined in

Type: BreadcrumbBar Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

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.

Exceptions

TypeCondition
System.ArgumentNullExceptiontype.