To reproduce: Add a RadListVIew to a Form with the following properties:
this.ListView.ItemSize = new System.Drawing.Size(200, 25);
this.ListView.FullRowSelect = false;
this.ListView.AllowArbitraryItemHeight = true;
this.ListView.ShowCheckBoxes = true;
this.ListView.ViewType = Telerik.WinControls.UI.ListViewType.IconsView;
Add the following items as follows:
string[] counters = new string[]{
"ATMEL BIRCH [XFC]Read IOs/Sec - Avg",
"ATMEL ELM [XFC]Read IOs/Sec - Avg",
"ATMEL OAK [XFC]Read IOs/Sec - Avg",
"ATMEL POPLAR [XFC]Read IOs/Sec - Avg",
"ATMEL WALNUT [XFC]Read IOs/Sec - Avg"
};
When you start the application you will notice that some items are wrapped and some have their text cut off.
Workaround:
Subscribe to the VisualItemFormatting event and set FitToSizeMode to FitToParentPadding and Padding to 5:
void CounterList_VisualItemFormatting(object sender, ListViewVisualItemEventArgs e)
{
e.VisualItem.Padding = new Padding(5);
e.VisualItem.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentPadding;
}