[英]Tree View Events Order
Please help me about the event order of any custom Treeview
control. 请帮助我有关任何自定义Treeview
控件的事件顺序。 I have to highlight the selected node of Custom Treeview
. 我必须突出显示Custom Treeview
的选定节点。 Thanks in advance. 提前致谢。
That's the most open question I've read... 这是我读过的最开放的问题...
Have you read the documentation on treeviews: https://msdn.microsoft.com/en-us/library/system.windows.forms.treeview(v=vs.110).aspx ? 您是否已阅读有关树视图的文档: https ://msdn.microsoft.com/zh-cn/library/system.windows.forms.treeview( v= vs.110).aspx?
You have property such as "SelectedNode", I guess this is what you're looking for? 您具有“ SelectedNode”之类的属性,我想这是您要寻找的?
Edit: You bind to an item source, then you can specify the selected node afterwards. 编辑:绑定到项目源,然后可以指定之后的选定节点。 Maybe this link will help you: https://msdn.microsoft.com/en-us/library/dd759035(v=vs.95).aspx 也许此链接会为您提供帮助: https : //msdn.microsoft.com/zh-cn/library/dd759035(v=vs.95).aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.