Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone suggest to me a method of generating columns dynamically in a row within a ListBox?
Posted
Updated 15-Sep-11 6:08am
v2
Comments
Rob Branaghan 15-Sep-11 12:10pm    
What is it you are trying to do with this Listbox?
Are sort of data are you trying to display?

You mean a ListView?

C#
ListView.Columns.Add("Title", width, HorizontalAlignment);
 
Share this answer
 
See this CP article that seems to suggest WinMobile can use a ListBox[^].

Windows Mobile is an unknown to me, but I do know the WinForms ListBox supports Columns, although very crudely, compared to a ListView.

best, Bill
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900