Skip to main content
A newer version of this page is available. .
Bar

BarManager.StatusBar Property

Gets or sets the status bar for the current form.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(null)]
public virtual Bar StatusBar { get; set; }

Property Value

Type Default Description
Bar *null*

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StatusBar property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also