Back to Devexpress

LinkUnlinkController.CustomCreateLinkView Event

expressappframework-devexpress-dot-expressapp-dot-systemmodule-dot-linkunlinkcontroller-14844b60.md

latest2.0 KB
Original Source

LinkUnlinkController.CustomCreateLinkView Event

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

Namespace : DevExpress.ExpressApp.SystemModule

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler<CustomCreateLinkViewEventArgs> CustomCreateLinkView
vb
Public Event CustomCreateLinkView As EventHandler(Of CustomCreateLinkViewEventArgs)

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

CreateListView

LinkUnlinkController Class

LinkUnlinkController Members

DevExpress.ExpressApp.SystemModule Namespace