GridView.HideCustomization() Method
Closes the Customization Form.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Remarks
The grid control destroys the Customization Form when you or an end user hides it. When the form does not exist, the GridView.CustomizationForm property returns null (Nothing in Visual Basic).
Handle the GridView.HideCustomizationForm event to perform actions when the Customization Form is about to be hidden.
See the following topic to learn more: Columns.
Note
Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the HideCustomization member must not be invoked for these Views. The HideCustomization member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.
- GridControl.MainView - returns the top most View in a grid;
- GridControl.FocusedView - returns the focused View;
- GridControl.DefaultView - returns the currently maximized View;
- the sender parameter of View specific events;
- GridView.GetDetailView - returns a detail clone View for a specific master row.