Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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