Version

BandName Property

Gets the name of the band in the underlying data source to which node belongs.
Syntax
'Declaration
 
Public ReadOnly Property BandName As String
public string BandName {get;}
Remarks

If this node is a band node, then the BandName indicates the name of the table, relationship, or other list object represented by the node. If this is a regular databound node, the Band Name returns the name of the band to which the node belongs.

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