ActionControlsSiteController.CustomAddActionControlToContainer Event

Occurs when an Action control is added to its Action Container.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public event EventHandler<CustomAddActionControlEventArgs> CustomAddActionControlToContainer
Public Event CustomAddActionControlToContainer As EventHandler(Of CustomAddActionControlEventArgs)

The event handler receives an argument of the DevExpress.ExpressApp.Templates.ActionControls.CustomAddActionControlEventArgs type.

Handle the CustomAddActionControlToContainer event to create a custom control and add it instead of the default one. Additionally, handle the ActionControlsSiteController.CustomBindActionControlToAction event to bind your custom control and Action settings.

If you want to customize the default control settings instead of creating a custom control, handle the ActionControlsSiteController.CustomizeActionControl event instead.

See Also