Skip to main content
Bar

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

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

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,
    Image backImage
)

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.

backImage Image

The current background image.

See Also