Skip to main content
.NET Framework 4.6.2+

View.CreateShortcut() Method

Returns key information on the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ViewShortcut CreateShortcut()

Returns

Type Description
ViewShortcut

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

Remarks

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