Back to Devexpress

XRCharacterComb.CellVerticalSpacing Property

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

latest2.8 KB
Original Source

XRCharacterComb.CellVerticalSpacing Property

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

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(0F)]
[SRCategory(ReportStringId.CatLayout)]
[XRLocalizable(true)]
public float CellVerticalSpacing { get; set; }
vb
<SRCategory(ReportStringId.CatLayout)>
<DefaultValue(0F)>
<XRLocalizable(True)>
Public Property CellVerticalSpacing As Single

Property Value

TypeDefaultDescription
Single0

A Single value.

|

Remarks

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

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

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 = 0Cell Spacing = 1

See Also

CellHorizontalSpacing

XRCharacterComb Class

XRCharacterComb Members

DevExpress.XtraReports.UI Namespace