Skip to main content
A newer version of this page is available.

XRCheckBox.GlyphAlignment Property

Specifies the glyph alignment within the XRCheckBox control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatAppearance)]
[DefaultValue(HorzAlignment.Near)]
public HorzAlignment GlyphAlignment { get; set; }

Property Value

Type Default Description
HorzAlignment **Near**

A HorzAlignment enumeration value.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

Remarks

When the GlyphAlignment property is set to HorzAlignment.Center, the XRCheckBox‘s text is not shown.

The following images illustrate the GlyphAlignment property in action.

GlyphAlignment = Near GlyphAlignment = Center GlyphAlignment = Far
check-box-glyph-alignment-near check-box-glyph-alignment-center check-box-glyph-alignment-far

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GlyphAlignment property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also