Bar(BarManager, String, BarDockStyle, BarOptionFlags, Rectangle, LinksInfo, Point, Int32, BarCanDockStyle, Color, Image, Int32, Int32) Constructor
OBSOLETE
The 'Bar
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,
Image backImage,
int barItemHorzIndent,
int barItemVertIndent
)
#Parameters
Name | Type | Description |
---|---|---|
manager | Bar |
A Bar |
name | String | A string value representing the name of the created bar. This value is assigned to the Bar. |
ADock |
Bar |
A Bar |
AOptions | Bar |
This parameter is ignored. |
float |
Rectangle | A System. |
links |
DevExpress. |
A Links |
dock |
Point | A System. |
offset | Int32 | An integer value that specifies the offset of the created bar from the dock site’s left or top edge (when the bar is oriented horizontally or vertically, respectively). This value is assigned to the Bar. |
can |
Bar |
A set of Bar |
back |
Color | A System. |
back |
Image | A System. |
bar |
Int32 | An integer value specifying the indent of item contents to their edges in the same direction as the current bar’s orientation. This value is assigned to the Bar. |
bar |
Int32 | An integer value specifying the indent of item contents to their edges in the opposite direction of the current bar’s orientation. This value is assigned to the Bar. |
#Remarks
Do not use this constructor in applications. It is used internally to provide support for the previous XtraBars versions.