Version

Expandable Property

Returns or sets a value that determines if the band is expandable.
Syntax
'Declaration
 
Public Property Expandable As Boolean
public bool Expandable {get; set;}
Remarks

The Expandable property determines whether the rows in a band can be expanded. If set to False the row expansion (plus/minus) indicators become inactive.

The ExpansionIndicator property can be used to hide the expansion indicators.

Example
Following code sets the Expandable to false on the first band. This will prevent the user from expanding rows in the band and thus any descendant bands of this band will not be accessible to the user.

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

  Private Sub Button143_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button143.Click

      Me.UltraGrid1.DisplayLayout.Bands(1).Expandable = False

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

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

	this.ultraGrid1.DisplayLayout.Bands[1].Expandable = false;

}
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