J james Sep 28, 2006 #2 Alan T said: How do I set a particular listview item text to bold? Click to expand... Well, if you are adding it to a listview called lstView: ListViewItem NewItem = new ListViewItem(); NewItem.Text = "foo"; NewItem.Subitems.Add("bar"); NewItem.Font = new Font(lstView.Font, FontStyle.Bold); lstView.Items.Add(NewItem); You should be able to also use the font line referencing an item in the list view items collection... something like lstView.Items[idx].Font = new Font(lstView.Font, FontStyle.Bold); James
Alan T said: How do I set a particular listview item text to bold? Click to expand... Well, if you are adding it to a listview called lstView: ListViewItem NewItem = new ListViewItem(); NewItem.Text = "foo"; NewItem.Subitems.Add("bar"); NewItem.Font = new Font(lstView.Font, FontStyle.Bold); lstView.Items.Add(NewItem); You should be able to also use the font line referencing an item in the list view items collection... something like lstView.Items[idx].Font = new Font(lstView.Font, FontStyle.Bold); James