Version

Indentation Property

Returns or sets a value that determines the amount of indenting used for this band.
Syntax
'Declaration
 
Public Property Indentation As Integer
public int Indentation {get; set;}
Remarks
You can use the Indentation property to specify how much indenting should be applied to bands beyond the default indenting done by the control. The default value for this property is -1, which indicates that the grid's default indenting should be used.
Example
Following code sets the Indentation on band 0 and band 1 to 40. This can be useful if you want to change the default indentation of the UltraGrid.

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

  Private Sub Button142_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button142.Click

      Me.UltraGrid1.DisplayLayout.Bands(0).Indentation = 40
      Me.UltraGrid1.DisplayLayout.Bands(1).Indentation = 40

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

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

	this.ultraGrid1.DisplayLayout.Bands[0].Indentation = 40;
	this.ultraGrid1.DisplayLayout.Bands[1].Indentation = 40;

}
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