Back to Devexpress

XRCharacterComb.CellSizeMode Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcharactercomb.md

latest3.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(SizeMode.AutoSize)]
[SRCategory(ReportStringId.CatLayout)]
public SizeMode CellSizeMode { get; set; }
vb
<SRCategory(ReportStringId.CatLayout)>
<DefaultValue(SizeMode.AutoSize)>
Public Property CellSizeMode As SizeMode

Property Value

TypeDefaultDescription
SizeModeAutoSize

A SizeMode enumeration value.

|

Available values:

NameDescription
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

XRCharacterComb

XRCharacterComb Members

DevExpress.XtraReports.UI Namespace