简体   繁体   中英

C# How i can expand an item in a listview to get multiple line with a new column in windows application

Recently i worked with a ListView(details view) in c#.I want to implement the behavior when i select an item it expand with multiple line also with a new column.Where expanded line data come from MySql db.That means selected line have a connection with Mysql Db.

Is it possible to extend list view item with multiline column with multiple line?If so, is there a good resource that I can use to help me?

The system ListView does not support that. What you need is a combination of treeview and listview, usually called a TreeListView.

Search for TreeListView on google and you will get many such controls, some free, some commercial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM