首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

怎么treeview 高亮显示选中的节点,即使treeview失去焦点都要高亮显示

2012-12-20 
如何treeview 高亮显示选中的节点,即使treeview失去焦点都要高亮显示如何treeview 高亮显示选中的节点,即

如何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……


这个是正解啊。

热点排行