Skip to main content

Navigation.GetNavigateTo(DependencyObject) Method

Gets a navigation destination for a specific element.

Namespace: DevExpress.Xpf.WindowsUI.Navigation

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public static object GetNavigateTo(
    DependencyObject target
)

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