Bar(BarManager, String, BarDockStyle, BarOptionFlags, Rectangle, LinksInfo, Point, Int32, BarCanDockStyle, Color) 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.v19.1.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
)
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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Bar(BarManager, String, BarDockStyle, BarOptionFlags, Rectangle, LinksInfo, Point, Int32, BarCanDockStyle, Color) constructor.
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.