LinkUnlinkController.QueryLinkObjects Event

Occurs when executing the LinkUnlinkController.LinkAction.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public event EventHandler<QueryLinkObjectsEventArgs> QueryLinkObjects

The event handler receives an argument of the DevExpress.ExpressApp.SystemModule.QueryLinkObjectsEventArgs type.

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