The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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