Back to Devexpress

BarStaticItem Class

windowsforms-devexpress-dot-xtrabars-a3f540a9.md

latest2.7 KB
Original Source

BarStaticItem Class

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class BarStaticItem :
    BarItem
vb
Public Class BarStaticItem
    Inherits BarItem

The following members return BarStaticItem objects:

LibraryRelated API Members
WinForms ControlsBarStaticItemLink.Item
.NET Reporting ToolsXRDesignBarManager.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.

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.

Inheritance

Object MarshalByRefObject Component BarItem BarStaticItem BarHeaderItem

See Also

BarStaticItem Members

BarStaticItemLink

AutoSize

DevExpress.XtraBars Namespace