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

Bar(BarManager, String, BarDockStyle, BarOptionFlags, Rectangle, LinksInfo, Point, Int32, BarCanDockStyle, Color) Constructor

In This Article
OBSOLETE

The 'BarOptionFlags AOptions' parameter is ignored. Please remove this parameter from your constructor call

Initializes a new Bar class instance.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Obsolete("The 'BarOptionFlags AOptions' parameter is ignored. Please remove this parameter from your constructor call")]
public Bar(
    BarManager manager,
    string name,
    BarDockStyle ADockStyle,
    BarOptionFlags AOptions,
    Rectangle floatRect,
    LinksInfo linksInfo,
    Point dockPos,
    int offset,
    BarCanDockStyle canDockStyle,
    Color backColor
)

#Parameters

Name Type Description
manager BarManager

A BarManager that will contain a newBar class instance.

name String

The current bar’s name.

ADockStyle BarDockStyle

The current bar’s docking style. Obtained from the BarDockStyle enumeration.

AOptions BarOptionFlags

This parameter is ignored.

floatRect Rectangle

The current bar’s rectangle when floating.

linksInfo DevExpress.XtraBars.LinksInfo

A LinksInfo class instance.

dockPos Point

The current dock position.

offset Int32

The current offset.

canDockStyle BarCanDockStyle

The current set of posssible dock styles.

backColor Color

The current background color.

See Also