Bar(BarManager, String, BarDockStyle, Rectangle, LinksInfo, Point, Int32, BarCanDockStyle, Color, Image, Int32, Int32) 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,
int barItemHorzIndent,
int barItemVertIndent
)
#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. |
bar |
Int32 | An Int32 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 Int32 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. |