Skip to main content

GridView.HideCustomizationForm Event

Fires before the Customization Form is closed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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.HideCustomization 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