Skip to main content
.NET 6.0+

View.CreateShortcut() Method

Returns key information on the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public ViewShortcut CreateShortcut()


Type Description

A ViewShortcut object that provides access to the current View’s identifiers.


A Shortcut represent the key information on a View: object type, key property value of the View’s current object and ID. This information is necessary to create and locate Views. Use this method to store information on a particular View to create it via the XafApplication.ProcessShortcut method. For instance, this technique is used in the ViewNavigationController that stores the history of Views displayed in the current Window.

See Also