Skip to main content
A newer version of this page is available. .
Bar

BarManagerProperties.GetLinkVertIndent() Method

Returns the vertical indent between the content and the borders of bar links.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public int GetLinkVertIndent()

Returns

Type Description
Int32

The vertical indent between the content and the borders of bar links, in pixels.

Remarks

The GetLinkVertIndent function allows you to get the actual vertical indent between the content and the borders of bar links. The return value depends on the BarManagerProperties.BarItemVertIndent property. If BarManagerProperties.BarItemVertIndent is set to -1, the default indent is used according to the currently applied paint scheme (BarAndDockingController.PaintStyleName). Otherwise, the property value specifies the indent to use.

For each bar, you can specify the indent value via the Bar.BarItemVertIndent property and this will override the indent exposed by the BarAndDockingController.

See Also