Skip to main content

NavBarControl.LinkInterval Property

Gets or sets the interval (in pixels) between neighboring links in a group.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
public int LinkInterval { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value specifying the interval (in pixels) between neighboring links in a group.

Remarks

By default, links within a group are separated with a zero interval. Use the LinkInterval property to change the distance between neighboring links. This property has no effect if links are displayed without captions, i.e. if the NavBarGroup.GroupStyle property is set to NavBarGroupStyle.LargeIconsList or NavBarGroupStyle.SmallIconsList.

The following table illustrates different values of the LinkInterval property:

LinkInterval is set to -1 LinkInterval is set to 5 LinkInterval is set to 10
LinkInterval_Default LinkInterval_5 LinkInterval_10
See Also