Skip to main content

BarStaticItem Class

Represents a bar item with a look and feel similar to the StatusbarPanel.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public class BarStaticItem :


This class combines the functionality of the BarItem and a Status Panel (See StatusBarPanel in MSDN). With this item, you can create a Status bar-like panel within your application form. A status panel is often used to display static information or data which cannot be modified by a user.

You are allowed to change its width, right and left indents and content alignment within the item. The BarStaticItem.AutoSize property specifies how the item link is located within the bar.



If you create a bar item in code, associate the bar item with the BarManager or RibbonControl. Use the constructor with the BarManager parameter. To display the bar item within the Ribbon Control, pass the RibbonControl.Manager object as the BarManager parameter.

See Also