Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridView.HideCustomizationForm Event

Fires before the Customization Form is closed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.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