Skip to main content
Bar

BarStaticItem.TextAlignment Property

Gets or sets text alignment within the BarStaticItem.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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