.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

View.CreateShortcut() Method

Returns key information on the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateShortcut() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also