private void ls_DrawItem(object sender, DrawListViewItemEventArgs e) { e.DrawDefault = false; }
private void ls_DrawSubItem(object sender, DrawListViewSubItemEventArgs e) { if (e.ColumnIndex == ls.Columns.Count - 1) { ...add image button} else { e.DrawDefault = true; }
ListView.DrawSubItem Event[^]: Occurs when the details view of a ListView is drawn and the OwnerDraw property is set to true.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)