'Declaration Public Property HiddenWhenGroupBy As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean HiddenWhenGroupBy {get; set;}
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button13_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button13.Click ' Setting the property on the DisplayLayout's Override effects the whole grid. Me.ultraGrid1.DisplayLayout.Override.GroupByColumnsHidden = DefaultableBoolean.False ' You can override above grid-wide settings on a particular band by setting the ' property in question to a non-default value in the Override object of that ' band. Me.ultraGrid1.DisplayLayout.Bands(0).Override.GroupByColumnsHidden = DefaultableBoolean.True ' Forthermore, you can override above settings by setting HiddenWhenGroupBy property ' on an individual column. Me.ultraGrid1.DisplayLayout.Bands(0).Columns(0).HiddenWhenGroupBy = DefaultableBoolean.True End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button13_Click(object sender, System.EventArgs e) { // Setting the property on the DisplayLayout's Override effects the whole grid. this.ultraGrid1.DisplayLayout.Override.GroupByColumnsHidden = DefaultableBoolean.False; // You can override above grid-wide settings on a particular band by setting the // property in question to a non-default value in the Override object of that // band. this.ultraGrid1.DisplayLayout.Bands[0].Override.GroupByColumnsHidden = DefaultableBoolean.True; // Forthermore, you can override above settings by setting HiddenWhenGroupBy property // on an individual column. this.ultraGrid1.DisplayLayout.Bands[0].Columns[0].HiddenWhenGroupBy = DefaultableBoolean.True; }
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