Back to Devexpress

Bar.GetLinkVertIndent() Method

windowsforms-devexpress-dot-xtrabars-dot-bar-6c01f452.md

latest2.8 KB
Original Source

Bar.GetLinkVertIndent() Method

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
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual int GetLinkVertIndent()
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Function GetLinkVertIndent As Integer

Returns

TypeDescription
Int32

An integer value that specifies the actual vertical indent, in pixels, between a bar item link’s content and borders.

|

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

GetLinkVertIndent(Single)

BarItemVertIndent

Bar Class

Bar Members

DevExpress.XtraBars Namespace