Navigation.GetNavigateTo(DependencyObject) Method

Gets a navigation destination for a specific element.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

Declaration

public static object GetNavigateTo(
    DependencyObject target
)
Public Shared Function GetNavigateTo(
    target As DependencyObject
) As Object

Parameters

Name Type Description
target DependencyObject

A DependencyObject whose destination target is to be obtained.

Returns

Type Description
Object

An Object to which the target element navigates.

Remarks

Use the GetNavigateTo method to get an object (view), to which the specific element will navigate upon clicking.

DevExpress.Xpf.WindowsUI.Navigation.Navigation.GetNavigateTo(navigationButton1);

To set a navigation destination for the specific element, use the static Navigation.SetNavigateTo method in code, or the attached Navigation.NavigateTo property in XAML mark-up.

See Also