Bar(BarManager, String, BarDockStyle, Rectangle, LinksInfo, Point, Int32, BarCanDockStyle, Color, Image) Constructor
Initializes a new instance of the Bar class with the specified settings.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public Bar(
BarManager manager,
string name,
BarDockStyle ADockStyle,
Rectangle floatRect,
LinksInfo linksInfo,
Point dockPos,
int offset,
BarCanDockStyle canDockStyle,
Color backColor,
Image backImage
)
#Parameters
Name | Type | Description |
---|---|---|
manager | Bar |
A Bar Manager that owns the newly created Bar. This value is assigned to the Bar. |
name | String | A String value that is the Bar‘s name. This value is assigned to the Bar. |
ADock |
Bar |
A Bar |
float |
Rectangle | A System. |
links |
DevExpress. |
A Links |
dock |
Point | A System. |
offset | Int32 | An Int32 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 | An Image object that is the bar’s background image. |