Back to Devexpress

BarManagerProperties.BarItemVertIndent Property

windowsforms-devexpress-dot-xtrabars-dot-barmanagerproperties-026c34d4.md

latest3.2 KB
Original Source

BarManagerProperties.BarItemVertIndent Property

Returns the actual vertical indent, in pixels, between a bar item link’s content and borders.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(-1)]
public virtual int BarItemVertIndent { get; set; }
vb
<DefaultValue(-1)>
Public Overridable Property BarItemVertIndent As Integer

Property Value

TypeDefaultDescription
Int32-1

An integer value that specifies the vertical indent, in pixels, between a bar item link’s content and borders. -1 , if the indent depends on the bar and dock controller‘s PaintStyle.

|

Remarks

The bar and dock controller‘s LookAndFeel property specifies the paint style for bars and dock panels. The style determines the horizontal and vertical indent, in pixels, between a bar item link’s content and borders.

The bar and dock controller’s BarItemHorzIndent and BarItemVertIndent properties allow you to override these settings for a particular form.

A bar’s BarItemHorzIndent and BarItemVertIndent properties allow you to override the indents for a particular bar.

The image below displays bars when the BarItemHorzIndent property is set to -1 and 10 respectively.

The image below displays bars when the BarItemVertIndent property is set to -1 and 10 respectively.

See Also

MultiLine

GetLinkVertIndent

BarItemHorzIndent

BarItemVertIndent

BarManagerProperties Class

BarManagerProperties Members

DevExpress.XtraBars Namespace