Skip to main content
A newer version of this page is available. .

GridView.ShowCustomizationForm Event

Fires immediately after the Customization Form has been invoked.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DXCategory("Customization")]
public event EventHandler ShowCustomizationForm

Event Data

The ShowCustomizationForm event's data class is EventArgs.

Remarks

Handle the ShowCustomizationForm event to provide a proper response to activating the Customization Form. This can be done to update controls reflecting the form’s visible state, for instance. You can also use the ShowCustomizationForm event is to perform Customization Form initialization. This may be needed, for instance, when you need to assign a context menu to the form or change other settings. Use the GridView.CustomizationForm property to access the form.

Note that the Customization Form is destroyed each time it is closed. When shown again, it is recreated with default settings. Thus, changes to settings should be applied each time the form is shown (i.e. each time the ShowCustomizationForm event is raised).

Handle the GridView.HideCustomizationForm event if you need to respond to hiding the Customization Form.

See Also