Hi
I have a regular windows listbox to which I add items in a single column format as below;
MyListBox.Items.Clear() MyListBox.Items.Add(x)
I am also able to delete items as below;
MyListBox.Items.Remove(MyListBox.SelectedItem)
My question is how do I achieve the same effect ie a single column list and add and delete items from it in the equivalent Infragistics winform control?
Thanks
Regards
You can use the UltraListView control with the following property settings:
UltraListView.View = UltraListViewStyle.List;UltraListView.ViewSettingsList.MultiColumn = false;
The syntax for item removal is similar, although there is no SelectedItem property because the control supports multiple selection (see UltraListView.SelectedItems collection).