All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XRCrossTabCell.ColumnAutoWidthMode Property

Specifies whether and how to change the cell's width to fit its content.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v20.1.dll

Declaration

[DefaultValue(AutoSizeMode.None)]
[SRCategory(ReportStringId.CatBehavior)]
public AutoSizeMode ColumnAutoWidthMode { get; set; }
<DefaultValue(AutoSizeMode.None)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property ColumnAutoWidthMode As AutoSizeMode

Property Value

Type Default Description
AutoSizeMode

None

The size mode.

Remarks

Use the ColumnAutoWidthMode property to adjust the column width to fit values of all its cells. If you change this property value for one cell, this value applies to all the cells in the column.

At design time, you can set the ColumnAutoWidthMode property in a cell's smart tag or in the Properties window.

  • None

    All columns have the same width specified in the Cross Tab layout.

  • GrowOnly

    The column width can be automatically increased to fit values of all column cells.

  • ShrinkOnly

    The column width can be automatically decreased to fit values of all column cells.

  • ShrinkAndGrow

    The column width can be automatically increased or decreased to fit values of all column cells.

NOTE

This property is not available if a cell spans two or more columns.

See Also