GridOptionsView.GroupDrawMode Property
Gets or sets a value specifying how group rows should be painted.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[DefaultValue(GroupDrawMode.Default)]
[XtraSerializableProperty]
public virtual GroupDrawMode GroupDrawMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GroupDrawMode | Default | A GroupDrawMode enumeration value specifying how group rows are to be painted. |
Available values:
Name | Description |
---|---|
Default | The default style. The actual style applied in default mode is controlled by the skin. |
Standard | The standard style. |
Office2003 | The Office 2003-inspired style. |
Office | The Office 2013-inspired style. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to GroupDrawMode |
---|---|
GridView |
|
Remarks
Use the GroupDrawMode property to specify the paint style for group rows. The paint style typically affects the height of group rows and indents of data groups.
To specify how data rows must be grouped when grouping by a specific column, use the GridColumn.GroupInterval property. See Working with Groups in Code to learn more.
Note
Please be aware that certain draw modes can affect other UI settings due to design specifics. For instance, the GroupDrawMode property, when set to Office2003, ignores the GridView.LevelIndent setting for the very first level (for further levels the indent works as expected).