How to implement the icon click event for WinForms TreeView

0 Answers 4 Views
Treeview
yw
Top achievements
Rank 2
yw asked on 22 Aug 2025, 02:18 AM

WinForms TreeView displays icons and text. How to obtain the Rectangle of the icon area, or how to implement the click event of the icon. Through the method in https://www.telerik.com/forums/hovering-over-node-image: 
TreeNodeImageElement imageElement = radTreeView1.ElementTree.GetElementAtPoint(e.Location) as TreeNodeImageElement;
The obtained structure is null, and the version is 2025.

thaks

No answers yet. Maybe you can help?

Tags
Treeview
Asked by
yw
Top achievements
Rank 2
Share this question
or