Home

SpeakComputers.com | Text-to-Speech Software

Natural sounding TTS voice support | Cepstral TTS voices | Text to MP3 | Natural Readers

Text to Speech Software Text to Speech Voices SpeakComputer Text to Speech Software

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);
}
Top of page
Text to Speech Speech synthesis Software TTS Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
About Privacy Policy TTS Resouces
Free Text to Speech software
Free Text to Speech Software