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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tree View FAQ

Thread ID:




6357 Aug 11,2003 04:06 AM UTC WinForms 0
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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon