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

BarStaticItem.TextAlignment Property

Gets or sets text alignment within the BarStaticItem.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(StringAlignment.Near)]
public virtual StringAlignment TextAlignment { get; set; }

Property Value

Type Default Description
StringAlignment **Near**

One of the StringAlignment values.

Remarks

You can use this property to align text within the borders of the BarStaticItem. Text can be aligned based on StringAlignment facilites. For information on StringAlignment refer to MSDN.

See Also