Navigation.SetNavigateTo(DependencyObject, Object) Method

Sets the navigation destination for the specific object.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

Assembly: DevExpress.Xpf.Controls.v20.1.dll

Declaration

public static void SetNavigateTo(
    DependencyObject target,
    object value
)
Public Shared Sub SetNavigateTo(
    target As DependencyObject,
    value As Object
)

Parameters

Name Type Description
target DependencyObject

A DependencyObject whose navigation destination is to be set.

value Object

An Object that is the navigation destination for the target.

Remarks

The SetNavigateTo method specifies an object (view) to which the specific element will navigate upon clicking.

DevExpress.Xpf.WindowsUI.Navigation.Navigation.SetNavigateTo(btn1, "View3");

In XAML, you can use the attached Navigation.NavigateTo property.

See Also