.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

View.CustomizeViewShortcut Event

Occurs when a View Shortcut for the current View is created via the View.CreateShortcut method.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event EventHandler<CustomizeViewShortcutArgs> CustomizeViewShortcut
Public Event CustomizeViewShortcut As EventHandler(Of CustomizeViewShortcutArgs)
public event EventHandler<CustomizeViewShortcutArgs> CustomizeViewShortcut
Public Event CustomizeViewShortcut As EventHandler(Of CustomizeViewShortcutArgs)
public event EventHandler<CustomizeViewShortcutArgs> CustomizeViewShortcut
Public Event CustomizeViewShortcut As EventHandler(Of CustomizeViewShortcutArgs)

Event Data

The CustomizeViewShortcut event handler receives an argument of the CustomizeViewShortcutArgs type. The following properties provide information specific to this event.

Property Description
ViewShortcut Specifies the created View Shortcut.

Remarks

Handle this event to customize View Shortcuts when they are created. Generally, you should not modify values corresponding to keys that already exist in newly created View Shortcuts, as this information is used by XAF to support various built-in functionalities, and you can easily break them. You can, however, add custom key/value pairs to View Shortcuts. In this instance, the custom keys should also be added to the ViewShortcut.EqualsDefaultIgnoredParameters list, to ensure that they do not break built-in functionalities.

See Also