Version

InterBandSpacing Property

Returns or sets the vertical space between bands.
Syntax
'Declaration
 
Public Property InterBandSpacing As Integer
public int InterBandSpacing {get; set;}
Remarks

This is the vertical space between the last child row of parent record A, and the first child row of Parent Record B, where Parent record B is the next sibling record after parent record A.

The InterbandSpacing property determines the spacing between bands in a hierarchical record set. Specifically, it determines the vertical space between the last row of one band and the first row of that band's child band. The higher the value, the greater the space between bands and their children.

Example
Following code sets the InterBandSpacing property to 20 pixels.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button57_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button57.Click

      ' Set the InterBandSpacing to 20.
      Me.UltraGrid1.DisplayLayout.InterBandSpacing = 20

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button57_Click(object sender, System.EventArgs e)
{

	// Set the InterBandSpacing to 20.
	this.ultraGrid1.DisplayLayout.InterBandSpacing = 20;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also