Bar.GetLinkVertIndent() Method
Returns the actual vertical indent between the content and the borders of bar links, measured in pixels.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v19.1.dll
Declaration
Returns
Type | Description |
---|---|
Int32 | An integer value specifying the number of pixels between the content and the borders of bar links. |
Remarks
The GetLinkVertIndent method allows you to get the actual vertical indent between the content and the borders of bar links for this bar.
If a bar is docked to the left or right edge of a container (form), the vertical indent between links is determined by the current paint scheme specified by the BarAndDockingController.PaintStyleName property. Otherwise, the vertical indent is determined by the Bar.BarItemVertIndent property. Use this property to set the vertical indent for the bar. You can also specify the default vertical indent for all bars via the BarManagerProperties.BarItemVertIndent property of a Bar and Docking Controllers (Customizing Default View and Behavior Settings). See the Bar.BarItemVertIndent topic for more information.