Bar

BarItemLink.GetLinkHorzIndent() Method

Returns the size of the horizontal indent between the content and the borders of a bar link.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public virtual int GetLinkHorzIndent()
<Browsable(False)>
Public Overridable Function GetLinkHorzIndent As Integer

Returns

Type Description
Int32

An integer value specifying the number of pixels between the content and the borders of the bar link.

Remarks

The GetLinkHorzIndent method returns the size of the horizontal indent between the borders and content of the bar link in pixels. If the link belongs to a bar, the Bar.GetLinkHorzIndent value is returned. If the link does not belong to a bar, the indent is determined by the current paint scheme specified by the BarAndDockingController.PaintStyleName property of a bar and dock controller.

To change the horizontal indent between links for a bar, use the Bar.BarItemHorzIndent property. You can specify the default horizontal indent for all bars via the BarManagerProperties.BarItemHorzIndent property of a BarAndDockingController.

See Also