G
giddy
hi,
I have a listview on a form, the View is set to Tile. I also have an
image list tied to the *smallImageList property, i have one image in
the image list, its a png : 32X32
When i do this, i dont see an icon and the SubItem text!
lstvUsers.Columns.Add(Privilege");//added only so the tile detail is
visible
foreach (User _user in _users.Users)
{
ListViewItem lstviUser = new
ListViewItem(_user.Username,"User.png");
lstviUser.SubItems.Add(_user.Privilege.ToString());
lstvUsers.Items.Add(lstviUser);
}
When i added my imagelist to the largeImageList property the icon
shows up. BUT I still dont see the subitem text!? What am i doing
wrong!!!!
Gideon
I have a listview on a form, the View is set to Tile. I also have an
image list tied to the *smallImageList property, i have one image in
the image list, its a png : 32X32
When i do this, i dont see an icon and the SubItem text!
lstvUsers.Columns.Add(Privilege");//added only so the tile detail is
visible
foreach (User _user in _users.Users)
{
ListViewItem lstviUser = new
ListViewItem(_user.Username,"User.png");
lstviUser.SubItems.Add(_user.Privilege.ToString());
lstvUsers.Items.Add(lstviUser);
}
When i added my imagelist to the largeImageList property the icon
shows up. BUT I still dont see the subitem text!? What am i doing
wrong!!!!
Gideon