Skip to main content
Bar

BarStaticItem Class

Represents a bar item that allows you to display static text.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public class BarStaticItem :
    BarItem

#Remarks

Use a BarStaticItem object to dsplay static text in bars and menus.

BarStaticItem

You can customize the auto-size mode for BarStaticItem items via the BarStaticItem.AutoSizeMode property. Setting this property to Fill stretches the item's links, so that they occupy the largest possible area of a bar.

BarStaticItem objects are displayed on-screen using corresponding bar item links - BarStaticItemLink objects. See Items and Links to learn more.

See Also