Back to Devexpress

View.CreateShortcut() Method

expressappframework-devexpress-dot-expressapp-dot-view-35c017e3.md

latest1.7 KB
Original Source

View.CreateShortcut() Method

Returns key information on the current View.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public ViewShortcut CreateShortcut()
vb
Public Function CreateShortcut As ViewShortcut

Returns

TypeDescription
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

View Class

View Members

DevExpress.ExpressApp Namespace