Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AutoSizeMode Enum

Specifies whether and how to change the control’s size to fit its content.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public enum AutoSizeMode

#Members

Name Description
None

The control’s size remains unchanged.

GrowOnly

The control’s size can be automatically increased to fit its content.

ShrinkOnly

The control’s size can be automatically decreased to fit its content.

ShrinkAndGrow

The control’s size can be automatically increased or decreased to fit its content.

#Related API Members

The following properties accept/return AutoSizeMode values:

#Remarks

The AutoSizeMode enumeration’s values are used to set the XRCrossTabCell.ColumnAutoWidthMode property.

See Also