SpeakComputers.com
Home
Software
Electronics
Desktop Computers
Laptops
Games
Handheld Devices
Mobile Phones
Cameras
Camcorders
Printers
Books
Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010
ASP.NET C# VB.NET C++ .NET Infragistics DevComponents

UltraTree Control.

The Infragistics UltraTree control offers all the features of the Windows TreeView with added Style and Appearance properties and more functional events.

 

Namespace: Infragistics.Win.UltraWinTree
Assembly: Infragistics2.Win.UltraWinTree.v6.3.dll

using Infragistics.Win.UltraWinTree;
Calling: Infragistics.Win.UltraWinTree.UltraTree


Creating a new Infragistics.Win.UltraWinTree.UltraTree control.
Infragistics.Win.UltraWinTree.UltraTree ultraTree1 = new Infragistics.Win.UltraWinTree.UltraTree();

Adding the UltraTree control to a Windows form.
this.Controls.Add(ultraTree1);

To add a node to the UltraWinTree.
Infragistics.Win.UltraWinTree.UltraTreeNode treeNode = new Infragistics.Win.UltraWinTree.UltraTreeNode();
//Assign a Text value to the node.
treeNode.Text = "DotNet Controls";
//Assign an image to the node.
treeNode.Override.NodeAppearance.Image = Image.FromFile(@"c:\Icons\helloworld.gif");
//Add the node to the UltraTree.
this.ultraTree1.Nodes.Add(treeNode);

If you are looking to insert a new node at a specific point within an existing collection of treenodes.

this.ultraTree1.Nodes.Insert(2, treeNode);
//Inserts the new treenode at a specific index.

To create an event that responds to the selection of the TreeNode.
this.ultraTree1.AfterSelect+=new Infragistics.Win.UltraWinTree.AfterNodeSelectEventHandler(ultraTree1_AfterSelect);

To respond to the AferSelect event.
private void ultraTree1_AfterSelect(object sender, Infragistics.Win.UltraWinTree.SelectEventArgs e)
{
MessageBox.Show(ultraTree1.ActiveNode.Text);
}
Computer Security
AntiVirus Software
Internet Security
Parental Controls
Backup & Recovery
Computer Protection
Anti Malware
Photo & Video
Photo & Video Editing
Video Music
Desktop Publishing
Professional Design
Home Publishing
Clipart
Business & Accounting
Accounting
Payroll
Check Printing
TAX
H&R Block
Microsoft Office
Design
Graphic Design
Home Design
Garden Design
Interior Design
Computer Aided Design
3D Design
Students & Teacher
Adobe
Microsoft Office
Dragon Naturally Speaking
Corel Draw
Serif
Student/Teacher Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
Home About Privacy Policy Resouces