Skip to main content
Bar

BarManagerProperties.GetLinkHorzIndent() Method

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public int GetLinkHorzIndent()

Returns

Type Description
Int32

An integer value that specifies the actual horizontal 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.

image

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.

image

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

image

Tip

To get the actual indent, use the bar and dock controller’s GetLinkHorzIndent() and GetLinkVertIndent() methods or a bar’s GetLinkHorzIndent() and GetLinkVertIndent() methods.

See Also