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

XRCheckBox.TextAlignment Property

Gets or sets the check box's text alignment.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

[DefaultValue(TextAlignment.MiddleLeft)]
public override TextAlignment TextAlignment { get; set; }
<DefaultValue(TextAlignment.MiddleLeft)>
Public Overrides Property TextAlignment As TextAlignment

Property Value

Type Default Description
TextAlignment

MiddleLeft

A TextAlignment enumeration value that specifies how the text is aligned within the check box.

Remarks

The TextAlignment property specifies the control's XRControl.Text alignment within the check box, while the text font is specified by the XRControl.Font property. Note that the TextAlignment property is overridden in the XRCheckBox class to change its default value.

If the TextAlignment property's value is not set for the current check box, its value is obtained from its parent, or a parent of its parent and so on. For more information on this concept, please refer to Appearance Properties.

See Also