Version

EditorResolved Property (UltraTreeNodeCell)

Returns the resolved Infragistics.Win.EmbeddableEditorBase-derived editor that renders the data for this UltraTreeNodeCell
Syntax
'Declaration
 
Public ReadOnly Property EditorResolved As Infragistics.Win.EmbeddableEditorBase
public Infragistics.Win.EmbeddableEditorBase EditorResolved {get;}
Example
The following code sample demonstrates how to use the AfterCellEnterEditMode event to select all the text in a cell after the cell has entered edit mode:

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTree

    Private Sub ultraTree1_AfterCellEnterEditMode(ByVal sender As Object, ByVal e As AfterCellEnterEditModeEventArgs) Handles ultraTree1.AfterCellEnterEditMode
        If e.Cell.EditorResolved.SupportsSelectableText Then

            Dim currentText As String = e.Cell.EditorResolved.CurrentEditText
            e.Cell.EditorResolved.SelectionStart = 0
            e.Cell.EditorResolved.SelectionLength = currentText.Length
        End If
    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;


		private void ultraTree1_AfterCellEnterEditMode(object sender, Infragistics.Win.UltraWinTree.AfterCellEnterEditModeEventArgs e)
		{
			if ( e.Cell.EditorResolved.SupportsSelectableText )
			{
				string currentText = e.Cell.EditorResolved.CurrentEditText;
				e.Cell.EditorResolved.SelectionStart = 0;
				e.Cell.EditorResolved.SelectionLength = currentText.Length;
			}
		}
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