Skip to main content
.NET 6.0+

LinkUnlinkController.QueryLinkObjects Event

Occurs when executing the LinkUnlinkController.LinkAction.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler<QueryLinkObjectsEventArgs> QueryLinkObjects

Event Data

The QueryLinkObjects event's data class is DevExpress.ExpressApp.SystemModule.QueryLinkObjectsEventArgs.

Remarks

By default, the Link Action links the objects that are selected in the invoked popup Window. Handle this event to create a custom list of objects to be linked. Set the created list to the event handler’s QueryLinkObjectsEventArgs.LinkObjects parameter. To access the Link View, use the event handler’s QueryLinkObjectsEventArgs.LinkWindow parameter. To prevent linking the default list of objects, set the handler’s QueryLinkObjectsEventArgs.Handled parameter to true.

See Also