xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcharactercomb-99911d6b.md
Specifies the width of cells in a Character Comb (measured in report units).
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(25F)]
[SRCategory(ReportStringId.CatLayout)]
[XRLocalizable(true)]
public float CellWidth { get; set; }
<SRCategory(ReportStringId.CatLayout)>
<DefaultValue(25F)>
<XRLocalizable(True)>
Public Property CellWidth As Single
| Type | Default | Description |
|---|---|---|
| Single | 25 |
A Single value, specifying the cell width.
|
This setting is ignored when the XRCharacterComb.CellSizeMode property is set to SizeMode.AutoSize or SizeMode.AutoWidth. In these cases, the cell width depends on the current font size of a control and is not affected by the specified border width of a control.
When the CellSizeMode property is set to SizeMode.Custom or SizeMode.AutoHeight, the effective cell width is the difference between the specified CellWidth and XRControl.BorderWidth values.
See Also