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

GridView.HideCustomizationForm Event

Fires before the Customization Form is closed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

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

Event Data

The HideCustomizationForm event's data class is EventArgs.

Remarks

Handle the HideCustomizationForm event to perform actions before the Customization Form is closed. The event is raised regardless of whether the form is closed by end-users or by using the GridView.DestroyCustomization method.

Note: after the Customization Form is closed, it is destroyed. Thus, the GridView.CustomizationForm property returns null (Nothing in Visual Basic) when the Customization Form is invisible. If invoked again, the form will be recreated with default settings. Thus, you don’t have to perform any cleanup of form settings using the HideCustomizationForm event. The event can be handled for display purposes to update controls indicating the Customization Form’s visible state, for instance.

See Also