Back to Devexpress

Navigation.GetNavigateTo(DependencyObject) Method

wpf-devexpress-dot-xpf-dot-windowsui-dot-navigation-dot-navigation-dot-getnavigateto-x28-system-dot-windows-dot-dependencyobject-x29.md

latest2.5 KB
Original Source

Navigation.GetNavigateTo(DependencyObject) Method

Gets a navigation destination for a specific element.

Namespace : DevExpress.Xpf.WindowsUI.Navigation

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

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

Parameters

NameTypeDescription
targetDependencyObject

A DependencyObject whose destination target is to be obtained.

|

Returns

TypeDescription
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.

csharp
DevExpress.Xpf.WindowsUI.Navigation.Navigation.GetNavigateTo(navigationButton1);
vb
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

SetNavigateTo(DependencyObject, Object)

NavigateTo

Navigation

Navigation Class

Navigation Members

DevExpress.Xpf.WindowsUI.Navigation Namespace