VGridCustomizationForm Class
Represents the grid’s Customization Form.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v18.1.dll
Declaration
Related API Members
The following members accept/return VGridCustomizationForm objects:
Remarks
The VGridCustomizationForm object represents the Customization Form for the VGridControlBase descendants. The Customization Form enables end-users to temporarily hide rows and then make them visible again. This can be performed by dragging a row header to this form and back to the row header panel.
You can create a Customization Form and invoke it for display by calling the VGridControlBase.RowsCustomization method. This method creates a VGridCustomizationForm object instance, which can be accessed via the VGridControlBase.CustomizationForm property. The VGridControlBase.DestroyCustomization method hides and deletes the Customization Form.
Since the VGridCustomizationForm class is a descendant of the Form class, it can be altered like a regular form. For instance, you can change the form’s caption, assign a context menu to it, etc.
The VGridCustomizationForm class introduces three more properties, which can be useful when working with the Customization Form.
- You can use the VGridCustomizationForm.PressedRow property to identify the dragged row and access its settings when a user starts dragging the row header from the Customization Form.
- You can determine the widths of row headers displayed either on the Rows or the Categories page of the Customization Form. For this purpose, use the VGridCustomizationForm.RowItemWidth or the VGridCustomizationForm.CategoryItemWidth property, respectively.