'Declaration Public Enum TreeEventIds Inherits System.Enum
public enum TreeEventIds : System.Enum
Member | Description |
---|---|
AfterActivate | Event id that identifies AfterActivate event. |
AfterCellActivate | Event id that identifies the UltraTree.AfterCellActivate event. |
AfterCellEnterEditMode | Event id that identifies the UltraTree.AfterCellEnterEditMode event. |
AfterCellExitEditMode | Event id that identifies the UltraTree.AfterCellExitEditMode event. |
AfterCheck | Event id that identifies AfterCheck event. |
AfterCollapse | Event id that identifies AfterCollapse event. |
AfterColumnMoved | Event id that identifies the UltraTree.AfterColumnMoved event. |
AfterCopy | Event id that identifies the UltraTree.AfterCopy event |
AfterCut | Event id that identifies the UltraTree.AfterCut event |
AfterDataNodesCollectionPopulated | Event id that identifies the UltraTree.AfterDataNodesCollectionPopulated event. |
AfterDelete | Event id that identifies AfterDelete event. |
AfterExpand | Event id that identifies AfterExpand event. |
AfterLabelEdit | Event id that identifies AfterLabelEdit event. |
AfterNodeCancelUpdate | Event id that identifies the UltraTree.AfterNodeCancelUpdate event. |
AfterNodeLayoutItemResize | Event id that identifies the UltraTree.AfterNodeLayoutItemResize event. |
AfterNodeLayoutItemSpanResize | Event id that identifies the UltraTree.AfterNodeLayoutItemSpanResize event. |
AfterNodeUpdate | Event id that identifies the UltraTree.AfterNodeUpdate event. |
AfterPaste | Event id that identifies the UltraTree.AfterPaste event |
AfterSelect | Event id that identifies AfterSelect event. |
AfterSortChange | Event id that identifies the UltraTree.AfterSortChange event. |
BeforeActivate | Event id that identifies BeforeActivate event. |
BeforeCellActivate | Event id that identifies the UltraTree.BeforeCellActivate event. |
BeforeCellDeactivate | Event id that identifies the UltraTree.BeforeCellDeactivate event. |
BeforeCellEnterEditMode | Event id that identifies the UltraTree.BeforeCellEnterEditMode event. |
BeforeCellExitEditMode | Event id that identifies the UltraTree.BeforeCellExitEditMode event. |
BeforeCheck | Event id that identifies BeforeCheck event. |
BeforeCollapse | Event id that identifies BeforeCollapse event. |
BeforeColumnMoved | Event id that identifies the UltraTree.BeforeColumnMoved event. |
BeforeCopy | Event id that identifies the UltraTree.BeforeCopy event |
BeforeCut | Event id that identifies the UltraTree.BeforeCut event |
BeforeDataNodesCollectionPopulated | Event id that identifies the UltraTree.BeforeDataNodesCollectionPopulated event. |
BeforeDelete | Event id that identifies BeforeDelete event. |
BeforeExpand | Event id that identifies BeforeExpand event. |
BeforeLabelEdit | Event id that identifies BeforeLabelEdit event. |
BeforeNodeCancelUpdate | Event id that identifies the UltraTree.BeforeNodeCancelUpdate event. |
BeforeNodeLayoutItemResize | Event id that identifies the UltraTree.BeforeNodeLayoutItemResize event. |
BeforeNodeLayoutItemSpanResize | Event id that identifies the UltraTree.BeforeNodeLayoutItemSpanResize event. |
BeforeNodeUpdate | Event id that identifies the UltraTree.BeforeNodeUpdate event. |
BeforePaste | Event id that identifies the UltraTree.BeforePaste event |
BeforeSelect | Event id that identifies BeforeSelect event. |
BeforeSortChange | Event id that identifies the UltraTree.BeforeSortChange event. |
CellValidationError | Event id that identifies the UltraTree.CellValidationError event. |
CellValueChanged | Event id that identifies the UltraTree.CellValueChanged event. |
ColumnSetGenerated | Event id that identifies the UltraTree.ColumnSetGenerated event. |
DataError | Event id that identifies the UltraTree.DataError event. |
GestureCompleted | The GestureCompleted event. |
GestureQueryStatus | The GestureQueryStatus event. |
GestureStarting | The GestureStarting event. |
InitializeDataNode | Event id that identifies the UltraTree.InitializeDataNode event. |
MouseEnterElement | Event id that identifies MouseEnterElement event. |
MouseLeaveElement | Event id that identifies MouseLeaveElement event. |
PanGesture | The PanGesture event. |
PasteError | Event id that identifies the UltraTree.PasteError event |
PressAndHoldGesture | The PressAndHoldGesture event. |
PressAndTapGesture | The PressAndTapGesture event. |
RotateGesture | The RotateGesture event. |
Scroll | Event id that identifies the UltraTree.Scroll event |
SelectionDragStart | Event id that identifies SelectionDragStart event. |
TwoFingerTapGesture | The TwoFingerTapGesture event. |
ValidateLabelEdit | Event id that identifies ValidateLabelEdit event. |
ZoomGesture | The ZoomGesture event. |
The following sample code illustrates some of the information available in the PropertyChanged event.
Private Sub ultraTree1_PropertyChanged(ByVal sender As Object, ByVal e As Infragistics.Win.PropertyChangedEventArgs) Handles ultraTree1.PropertyChanged Dim pci As Infragistics.Shared.PropChangeInfo ' see if the text property has changed pci = e.ChangeInfo.FindPropId(Infragistics.Win.UltraWinTree.PropertyIds.Text) If Not pci Is Nothing Then ' if the source is a node display its key and new name If TypeOf (pci.Source) Is Infragistics.Win.UltraWinTree.UltraTreeNode Then Dim node As Infragistics.Win.UltraWinTree.UltraTreeNode node = pci.Source Debug.WriteLine("Node " + node.Key + "'s text has changed to: " + node.Text) End If End If End Sub
using System.Diagnostics; private void ultraTree1_PropertyChanged(object sender, Infragistics.Win.PropertyChangedEventArgs e) { Infragistics.Shared.PropChangeInfo pci; // see if the text property has changed pci = e.ChangeInfo.FindPropId( Infragistics.Win.UltraWinTree.PropertyIds.Text ); if ( pci != null ) { Infragistics.Win.UltraWinTree.UltraTreeNode node; // if the source is a node display its key and new name node = pci.Source as Infragistics.Win.UltraWinTree.UltraTreeNode; if ( node != null ) { Debug.WriteLine( "Node " + node.Key + "'s text has changed to: " + node.Text ); } } }
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