Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarItemLink.GetLinkVertIndent() Method

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Returns

Type Description
Int32

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

#Remarks

The GetLinkVertIndent method returns the vertical indent’s size between the borders and content of the bar link in pixels. If the link belongs to a bar, the Bar.GetLinkVertIndent value is returned. If the link does not belong to a bar, the indent is determined by the current paint scheme.

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

See Also