Back to Devexpress

NavBarControl.LinkInterval Property

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-fcc7943f.md

latest2.3 KB
Original Source

NavBarControl.LinkInterval Property

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

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[DefaultValue(-1)]
[XtraSerializableProperty]
public int LinkInterval { get; set; }
vb
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Property LinkInterval As Integer

Property Value

TypeDefaultDescription
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 -1LinkInterval is set to 5LinkInterval is set to 10

See Also

ExplorerBarGroupInterval

GroupStyle

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace