Skip to main content
Bar

Bar(BarManager, String, BarDockStyle, Rectangle, LinksInfo) Constructor

Initializes a new instance of the Bar class with the specified settings.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public Bar(
    BarManager manager,
    string name,
    BarDockStyle ADockStyle,
    Rectangle floatRect,
    LinksInfo linksInfo
)

Parameters

Name Type Description
manager BarManager

A Bar Manager that owns the newly created Bar. This value is assigned to the Bar.Manager property.

name String

A String value that is the Bar‘s name. This value is assigned to the Bar.BarName property.

ADockStyle BarDockStyle

A BarDockStyle enumerator value that specifies the Bar‘s dock style. Determines the Bar.DockStyle property.

floatRect Rectangle

A System.Drawing.Rectangle structure that specifies the floating size and location of the created bar. This value is used to initialize the Bar.FloatSize and Bar.FloatLocation properties.

linksInfo DevExpress.XtraBars.LinksInfo

A LinksInfo object representing the internal links collection. This value is assigned to the Bar.LinksPersistInfo property.

See Also