7 Answers, 1 is accepted

Use the bestfit property of the columns.
column.columns (i) .bestfit()
regards

{
c.BestFit();
}

{
c.BestFit();
}
This functionality is not available in RadListView, however, you can easily implement a similar one. For example, you can use the Resize event to set the column width:
private
void
RadListView1_Resize(
object
sender, EventArgs e)
{
int
columnWidth = radListView1.Width / radListView1.Columns.Count;
foreach
(var item
in
radListView1.Columns)
{
item.Width = columnWidth;
}
}
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress Telerik
.jpg)
Yes, I know about BestFit(), but this doesn't do what I want it to. I have my columns set to a specified min width size. So, these columns will fit perfectly when the form is set to it min size. When I resize the form, my control resizes as well, however, unlike a GRID's columns that has an AutoSizeMode.FILL, which will resize the columns so they fill the control (no dead space on the right side of the control). However, as I discovered and Dimitar pointed out, this functionality doesn't exists for a ListBox control. Yes, BestFit will resize the columns based on the AutoSizeMode of the control (which can be based on the header, cell contents, both or none), it will not FILL the control, therefor, leaving ugly dead space in the control. I believe Dimitar's solution will work. I am going to try that out.

Yes, voting for a particluar item will increase its priority. However, I cannot provide a timeframe for this one. Please follow the item and you will be notified when its status changes.
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Progress Telerik