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

BarManagerProperties.GetLinkHorzIndent() Method

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public int GetLinkHorzIndent()

Returns

Type Description
Int32

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

Remarks

The GetLinkHorzIndent function allows you to get the actual horizontal indent between neighboring links. The return value depends on the BarManagerProperties.BarItemHorzIndent property. If BarManagerProperties.BarItemHorzIndent is set to -1, the default indent specified by the currently applied paint scheme (BarAndDockingController.PaintStyleName) is used. Otherwise, the property value specifies the indent to use.

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

See Also