Windows Develop Bookmark and Share   
 index > Windows Forms General > list view(or)Tree view+C#
 

list view(or)Tree view+C#


hi...
I want to add many labels to listview or tree view... can any one tell me how to add many labels to listviewitem..


Cheers & Regards
ALGATES
algates  Tuesday, March 04, 2008 6:32 AM
Here is great article about ListView and process of adding items in ListView.

http://www.developerfusion.co.uk/show/74/1/

Code is in VB.NET but logic is important

greet
Dragoslav Zaric  Tuesday, March 04, 2008 3:01 PM

Hi algates,

Here are some samples written in C#.

· http://www.codeproject.com/KB/list/aa_listview.aspx

· http://www.codeproject.com/KB/list/ListViewCellEditors.aspx

· http://www.codeproject.com/KB/tree/CustomizedLabelEdit.aspx

· http://www.codeproject.com/KB/tree/treeviewms.aspx

· http://www.codeproject.com/KB/list/treelistview.aspx

These samples are about how to extend the TreeView and ListView. Hope this can help you figure out your problem. If not, could you please clarify what do you mean by "labels"?

Best regards.
Rong-Chun Zhang

Rong-Chun Zhang  Monday, March 10, 2008 5:11 AM

What exactly do you mean by "labels" in this context? Do you actually mean Label controls, or ListItems?

Mattias Sjögren  Tuesday, March 04, 2008 2:43 PM
Here is great article about ListView and process of adding items in ListView.

http://www.developerfusion.co.uk/show/74/1/

Code is in VB.NET but logic is important

greet
Dragoslav Zaric  Tuesday, March 04, 2008 3:01 PM

can u please able to give solutions for both....
algates  Friday, March 07, 2008 4:46 AM

Hi algates,

Here are some samples written in C#.

· http://www.codeproject.com/KB/list/aa_listview.aspx

· http://www.codeproject.com/KB/list/ListViewCellEditors.aspx

· http://www.codeproject.com/KB/tree/CustomizedLabelEdit.aspx

· http://www.codeproject.com/KB/tree/treeviewms.aspx

· http://www.codeproject.com/KB/list/treelistview.aspx

These samples are about how to extend the TreeView and ListView. Hope this can help you figure out your problem. If not, could you please clarify what do you mean by "labels"?

Best regards.
Rong-Chun Zhang

Rong-Chun Zhang  Monday, March 10, 2008 5:11 AM

You can use google to search for other answers

Custom Search

More Threads

• Access Controls or Variables on other forms
• BUG in VB.NET? Usercontrol and Enabled
• render a bitmap DC works but displayed image is in monochrome?
• Help with TextBox Validation using a function
• Disallow Printing
• ToolStripManager question
• Make NumericUpDown not error on bad value
• Sort on programatically added datagridviewcolumn does not work
• direct3d
• Using a C++ DLL in VB.Net 2.0