如何为brightideassoftware treelistview中的子项和子项提供不同的颜色 [英] How to give different color for child items and sub items in brightideassoftware treelistview

查看:268
本文介绍了如何为brightideassoftware treelistview中的子项和子项提供不同的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为BrightIdeasSoftware Treelistview中的子节点和子节点提供不同的颜色



我尝试了什么:



for(int i = 0; i< treeListView.Items.Count; i ++)

{

treeListView.Items [i] .BackColor = Color.YellowGreen;



}

I want to give differnt colors for sub nodes and child nodes in BrightIdeasSoftware Treelistview

What I have tried:

for (int i = 0; i < treeListView.Items.Count; i++)
{
treeListView.Items[i].BackColor = Color.YellowGreen;

}

推荐答案

显然,他们的文档很漂亮讨厌:使用入门 - ObjectListView 2.9.1文档 [ ^ ] - 但它包含一个讨论链接,以便您可以与其他用户(可能还有开发人员)交谈。 br />
关于这样的细节他们是明智的人,因为这里的人不太可能花很多时间去学习那些有这么差的东西。 upport;而不是在那里有许多其他类似的控件。
Apparently, their documentation is pretty nasty: Getting Started — ObjectListView 2.9.1 documentation[^] - but it includes a "Discussion" link so you can talk to other users (and possibly the developers).
They are the sensible people to ask about details like this, as it's unlikely anyone here is going to invest much time in learning something that has such poor support; not while there are many other similar controls out there.


这篇关于如何为brightideassoftware treelistview中的子项和子项提供不同的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆