Skip to main content

XRCharacterComb.CellSizeMode Property

Specifies whether or not the cell size should depend on the current font size of a Character Comb.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(SizeMode.AutoSize)]
[SRCategory(ReportStringId.CatLayout)]
public SizeMode CellSizeMode { get; set; }

Property Value

Type Default Description
SizeMode AutoSize

A SizeMode enumeration value.

Available values:

Name Description
Custom

The cell size is determined by the XRCharacterComb.CellHeight and XRCharacterComb.CellWidth property values and does not depend on the assigned font size.

With this setting, the actual cell size is less than the specified CellHeight and CellWidth by the XRControl.BorderWidth value.

AutoWidth

Only the cell width depends on the current font size of a control (the XRCharacterComb.CellWidth property is ignored), and the XRCharacterComb.CellHeight value is specified manually.

With this setting, the actual cell width does not depend on the specified border width of a control, while the effective cell height is the difference between the specified XRCharacterComb.CellHeight and XRControl.BorderWidth values.

AutoHeight

Only the cell height depends on the current font size of a control (the XRCharacterComb.CellHeight property is ignored), and the XRCharacterComb.CellWidth value is specified manually.

With this setting, the actual cell height does not depend on the specified border width of a control, while the effective cell width is the difference between the specified XRCharacterComb.CellWidth and XRControl.BorderWidth values.

AutoSize

The cell size depends on the current font size of a control (the XRCharacterComb.CellHeight and XRCharacterComb.CellWidth properties are ignored).

With this setting, the actual cell size does not depend on the specified border width of a control.

See Also