读书人

怎么treeview 高亮显示选中的节点即

发布时间: 2012-12-20 09:53:21 作者: rapoo

如何treeview 高亮显示选中的节点,即使treeview失去焦点都要高亮显示
如何treeview 高亮显示选中的节点,即使treeview失去焦点都要高亮显示
[最优解释]
http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.hideselection.aspx

Gets or sets a value indicating whether the selected tree node remains highlighted even when the tree view has lost the focus.

TreeView.HideSelection = false
[其他解释]
在失去光标事件中更改节点的字体
[其他解释]
在winform里有这个属性,但是在webform里treeview可没这个hideSelection属性啊

引用:
http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.hideselection.aspx

Gets or sets a value indicating whether the selected tree node remains highlighted even when the tree view h……

[其他解释]
设置TreeView中 选中的节点高亮显示,设置哪个属性??
[其他解释]
引用:
http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.hideselection.aspx

Gets or sets a value indicating whether the selected tree node remains highlighted even when th……


这个是正解啊。

读书人网 >C#

热点推荐