Version

GetCellText Method

Returns the string representation of the value of the cell which corresponds to the specified UltraTreeNodeColumn for this UltraTreeNode.
Syntax
'Declaration
 
Public Function GetCellText( _
   ByVal column As UltraTreeNodeColumn _
) As String
public string GetCellText( 
   UltraTreeNodeColumn column
)

Parameters

column
The UltraTreeNodeColumn instance which defines the cell whose text is to be returned.
Example
The following code sample demonstrates how to use the UltraTreeNode's GetCellText and GetCellValue methods to obtain the actual value and display value of a cell without creating an UltraTreeNodeCell object.

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

    Private Sub GetCellInfo(ByVal node As UltraTreeNode, ByVal column As UltraTreeNodeColumn, ByRef text As String, ByRef value As Object)
        text = node.GetCellText(column)
        value = node.GetCellValue(column)
    End Sub
using Infragistics.Win;
using Infragistics.Win.Layout;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;

		private void GetCellInfo(UltraTreeNode node, UltraTreeNodeColumn column, out string text, out object value)
		{
			text = node.GetCellText(column);
			value = node.GetCellValue(column);
		}
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