We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tree View FAQ

Thread ID:

Created:

Platform:

Replies:

6357 Aug 11,2003 04:06 AM UTC Windows Forms 0
loading
Tags: FAQ
bipin sawant
Asked On August 11, 2003 04:06 AM UTC

Hi, Following is the code scnippet of tree view in C# I want to change the image of selected node. but I am not able to do that. Will you please help me. private void treeView1_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e) { MessageBox.Show(node.ToString()); // shows correct selected Node MessageBox.Show(e.Node.ToString()); // shows correct selected Node e.Node.ImageIndex = 2; // chages the image of previous node, instead I want it to be changed for selected node //node.ImageIndex = 2; } Thanks and regards, Bipin Sawant

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;