Version

IsBandNode Property

Returns whether or not this node is a band node.
Syntax
'Declaration
 
Public ReadOnly Property IsBandNode As Boolean
public bool IsBandNode {get;}
Remarks

A band node is a node used in a databound tree to separate bands. The band node represents a table, relationship, or other list object in the underlying data source.

Example
The following code sample demonstrates how to use some of the UltraTreeNode's data binding related properties to inspect the state of the node.

Imports Infragistics.Win
Imports Infragistics.Win.Layout
Imports Infragistics.Win.UltraWinTree

    Private Sub GetBoundNodeInfo(ByVal node As UltraTreeNode)

        If Not node.DataColumnSetResolved Is Nothing Then
            Debug.WriteLine("DataColumnSetResolved = '" + node.DataColumnSetResolved.Key + "'")
        End If

        If Not node.DisplayColumnSetResolved Is Nothing Then
            Debug.WriteLine("DisplayColumnSetResolved = '" + node.DisplayColumnSetResolved.Key + "'")
        End If

        Debug.WriteLine("ListIndex = " + node.ListIndex.ToString())

        If Not node.ListObject Is Nothing Then
            Debug.WriteLine("ListObject = " + node.ListObject.ToString())
        End If

        Debug.WriteLine("IsBandNode = " + node.IsBandNode.ToString())
        Debug.WriteLine("ShowColumnsResolved = " + node.ShowColumnsResolved.ToString())
        Debug.WriteLine("BandName = " + node.BandName.ToString())

    End Sub
using Infragistics.Win;
using Infragistics.Win.Layout;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;

		private void GetBoundNodeInfo( UltraTreeNode node )
		{
			if ( node.DataColumnSetResolved != null )
				Debug.WriteLine( "DataColumnSetResolved = '" + node.DataColumnSetResolved.Key + "'" );

			if ( node.DisplayColumnSetResolved != null )
				Debug.WriteLine( "DisplayColumnSetResolved = '" + node.DisplayColumnSetResolved.Key + "'" );

			Debug.WriteLine( "ListIndex = " + node.ListIndex.ToString() );

			if ( node.ListObject != null )
				Debug.WriteLine( "ListObject = " + node.ListObject.ToString() );

			Debug.WriteLine( "IsBandNode = " + node.IsBandNode.ToString() );
			Debug.WriteLine( "ShowColumnsResolved = " + node.ShowColumnsResolved.ToString() );

		}
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