Skip to main content
.NET Framework 4.6.2+

LinkUnlinkController.CustomCreateLinkView Event

Occurs when creating a View to be displayed by the LinkUnlinkController.LinkAction.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler<CustomCreateLinkViewEventArgs> CustomCreateLinkView

Event Data

The CustomCreateLinkView event's data class is DevExpress.ExpressApp.SystemModule.CustomCreateLinkViewEventArgs.

Remarks

Handle this event to create a custom View that will be displayed when executing the Link Action. While creating a custom View, use the event handler’s CustomCreateLinkViewEventArgs.SourceView parameter, to get the nested View from which the LinkUnlinkController has activated. Set the handler’s CustomCreateLinkViewEventArgs.LinkView to the custom View created. To prevent the creation of the default Link View, set the handler’s CustomCreateLinkViewEventArgs.Handled parameter to true.

See Also