Back to Devexpress

BarManager.StatusBar Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-73012cbf.md

latest1.8 KB
Original Source

BarManager.StatusBar Property

Gets or sets the status bar for the current form.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public virtual Bar StatusBar { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Overridable Property StatusBar As Bar

Property Value

TypeDefaultDescription
Barnull

A Bar object representing the status bar.

|

Remarks

Assign a particular bar to the StatusBar property to make it a status bar. Such a bar automatically acquires specific properties:

  • The bar is always docked to the bottom edge of the form and it cannot be floating;
  • Drag and drop is disabled for the bar;
  • The quick customization button is disabled for the bar (see the BarOptions.AllowQuickCustomization property);
  • The bar fills the entire row provided by the container (form) (see the BarOptions.UseWholeRow property).

There can be only one status bar on the form.

See Also

MainMenu

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace