Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarStaticItem Class

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class BarStaticItem :
    BarItem

The following members return BarStaticItem objects:

Library Related API Members
WinForms Controls BarStaticItemLink.Item
.NET Reporting Tools XRDesignBarManager.HintStaticItem

#Remarks

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.

StatusBar

Important

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