Version

HiddenResolved Property (UltraGridBand)

Returns true if the Hidden property for this band is set to true or any of this band's ancestor bands have their hidden property set to true.
Syntax
'Declaration
 
Public ReadOnly Property HiddenResolved As Boolean
public bool HiddenResolved {get;}
Example
Following code illustrates how HiddenResolved property works. HiddenResolved property indicates if a band is actually hidden. A band could be hidden for example if one of its ancestor bands is hidden. The Hidden property doesn't take into account these factors. It just returns whatever value it was set to. However HiddenResolved takes into account various factors in figuring out whether a band is actually hidden.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Imports System.Diagnostics

   Private Sub Button139_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button139.Click

       ' Get a child band.
       Dim band As UltraGridBand = Me.ultraGrid1.DisplayLayout.Bands(2)

       ' Hide its parent band.
       band.ParentBand.Hidden = True

       ' Print out the values of Hidden and HiddenResolved property.
       Debug.WriteLine("band.Hidden = " & band.Hidden)
       Debug.WriteLine("band.HiddenResolved = " & band.HiddenResolved)

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

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

	// Get a child band.
	UltraGridBand band = this.ultraGrid1.DisplayLayout.Bands[2];

	// Hide its parent band.
	band.ParentBand.Hidden = true;

          // Print out the values of Hidden and HiddenResolved property.
          Debug.WriteLine( "band.Hidden = " + band.Hidden );
	Debug.WriteLine( "band.HiddenResolved = " + band.HiddenResolved );

}
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