Skip to main content
A newer version of this page is available. .

GridOptionsPrint.ExpandAllGroups Property

Gets or sets whether the View is printed/exported with all group rows expanded.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ExpandAllGroups { get; set; }

Property Value

Type Default Description
Boolean **true**

true to print/export the View with all data rows visible regardless of the group rows’ expanded state; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExpandAllGroups
AdvBandedGridView
.OptionsPrint.ExpandAllGroups
BandedGridView
.OptionsPrint.ExpandAllGroups
GridView
.OptionsPrint.ExpandAllGroups

Remarks

If the ExpandAllGroups option is disabled, the View is printed/exported with respect to the group rows’ expanded state.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExpandAllGroups property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also