F
farseer
Hi,
i have tabcontrol containing two tabPages. One of the tabPage contains
a ListView with dock property set to FILL. if i leave the default view
for the ListView.View property alone, i see the items i added (though
not the way i want them to appear), but if i change the view to DETAIL,
i see nothing. Anyone have any idea why this is happening?
so if i have:
this.ctlLv.View = View.Details;
ListViewItem lvi = new ListViewItem( "Dell" );
ListViewSubItem lvs = new ListViewSubItem( );
lvs.Text = "Dell Corp";
lvi.SubItems.Add( lvs );
ctlLv.Items.Add( lvi );
i do not see anything in the list view. but if i comment out the first
line, i do.
i have tabcontrol containing two tabPages. One of the tabPage contains
a ListView with dock property set to FILL. if i leave the default view
for the ListView.View property alone, i see the items i added (though
not the way i want them to appear), but if i change the view to DETAIL,
i see nothing. Anyone have any idea why this is happening?
so if i have:
this.ctlLv.View = View.Details;
ListViewItem lvi = new ListViewItem( "Dell" );
ListViewSubItem lvs = new ListViewSubItem( );
lvs.Text = "Dell Corp";
lvi.SubItems.Add( lvs );
ctlLv.Items.Add( lvi );
i do not see anything in the list view. but if i comment out the first
line, i do.