The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRCharacterComb.CellHorizontalSpacing Property

Specifies the horizontal spacing between adjacent cells of a Character Comb (measured in report units). This value does not depend on the specified border width of a control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

[SRCategory(ReportStringId.CatLayout)]
[DefaultValue(0F)]
public float CellHorizontalSpacing { get; set; }
<SRCategory(ReportStringId.CatLayout)>
<DefaultValue(0F)>
Public Property CellHorizontalSpacing As Single

Property Value

Type Default Description
Single

0

A Single value.

Remarks

The following image illustrates a Character Comb with XRCharacterComb.CellVerticalSpacing set to 15 and CellHorizontalSpacing set to 5

cellular-label-spacing

The area between cells is not affected by the XRControl.BackColor property of a control, which is illustrated on the following image.

cellular-label-background

When the cell spacing is set to zero, the borders of adjacent cells are merged (i.e., the actual border width is not doubled). The following images illustrate how cell spacing affects the XRControl.BorderWidth property behavior.

Cell Spacing = 0 Cell Spacing = 1
cellular-label-border cellular-label-border-cell-spacing

The XRCharacterComb.Padding property is hidden and has no effect upon the Character Comb control. When applying a style to a Character Comb, the style's XRControlStyle.Padding property is ignored.

See Also