Version

Search Results

Change the Active Node

Change the Active Node This topic will show you how to change the ActiveNode programmatically. Before you start writing any code, you should place using/imports directives in your code-behind so you don’t need to always type out a member’s fully qualified name. In Visual Basic: In C#: You will need a reference to ...

Change the Image of Nodes When Expanded or Collapsed

Change the Image of Nodes When Expanded or Collapsed This topic will describe how to have nodes in a WinTree™ that show an image, and make that image change when the node is Expanded. This can be done with or without an ImageList control. Add an ImageList to your form, and add at least two images to it. For the pu...

Change the Vertical Scrolling Behavior of a Scrollbar

Change the Vertical Scrolling Behavior of a Scrollbar There are two settings that control the WinTree’s™ vertical scrolling behavior. These settings are determined by the ScrollBounds property. Setting the ScrollBounds property to ScrollToLastItem (the default setting) will scroll the tree all the way down so only...

Columns

Columns WinTree™ can display data with columns. With this feature, cells and columns are displayed in a fashion similar to the WinGrid™ control. Also the WinTree control can have different column sets on each parent node allowing it to show heterogeneous data. The ViewStyle property determines how the columns will...

ColumnSet Layout Designer

ColumnSet Layout Designer In Ultimate UI for Windows Forms 2005 Volume 2, WinTree™ was updated to support columns. The addition of this functionality added a new class called UltraTreeColumnSet which defines the properties of a set of columns in the tree. The ColumnSet Layout Designer is a visual designer for orga...

Defining Layouts

Defining Layouts In this section you will find topics related to™ Layouts. Save and Load Layouts

Determining What Node was clicked

Determining What Node was clicked When working with the WinTree™ control, a common task would be to determine which node was clicked, and respond accordingly. The following code shows you how to find out the node that was clicked by checking the SelectEventArgs object, which contains data related to the event. The...

Disable a Node in WinTree

Disable a Node in WinTree This topic shows you how you can disable a node in WinTree™. The Enabled property of the UltraTreeNode object must be set to false. In Visual Basic: In C#: The following screenshot shows a WinTree with a disabled child node (Printers).

Display Multiple Lines of Text in Nodes

Display Multiple Lines of Text in Nodes Starting with Version 3 of WinTree™, the functionality for editing tree nodes has been significantly enhanced. Tree node editing is now handled by the Embeddable Editor technology of the Infragistics.Win assembly. To complement the enhanced editing capabilities, tree nodes h...

Displaying WinTree with Columns in Grid Style

Displaying WinTree with Columns in Grid Style Before You Begin In Grid style, WinTree displays column headers at the top of each node collection. This style can be adopted when each node collection has its own unique data schema. Non-recursive hierarchical data can also be presented in this mode. What you will acc...