GridOptionsView.GroupDrawMode Property

Gets or sets a value specifying how group rows should be painted.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(GroupDrawMode.Default)]
[XtraSerializableProperty]
public virtual GroupDrawMode GroupDrawMode { get; set; }
<DefaultValue(GroupDrawMode.Default)>
<XtraSerializableProperty>
Public Overridable Property GroupDrawMode As GroupDrawMode

Property Value

Type Default Description
GroupDrawMode

Default

A GroupDrawMode enumeration value specifying how group rows are to be painted.

Property Paths

You can access this nested property as listed below:

Object Type Path to GroupDrawMode
AdvBandedGridView
.OptionsView.GroupDrawMode
AdvBandedGridView
.OptionsView.GroupDrawMode
AdvBandedGridView
.OptionsView.GroupDrawMode
BandedGridView
.OptionsView.GroupDrawMode
BandedGridView
.OptionsView.GroupDrawMode
GridView
.OptionsView.GroupDrawMode

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

See Also