8 references to DrawListViewSubItemEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2728
e = new
DrawListViewSubItemEventArgs
(
System.Windows.Forms.Tests (7)
System\Windows\Forms\DrawListViewSubItemEventArgsTests.cs (7)
26
DrawListViewSubItemEventArgs e =
new
(graphics, bounds, item, subItem, itemIndex, columnIndex, header, itemState);
41
Assert.Throws<ArgumentNullException>("graphics", () => new
DrawListViewSubItemEventArgs
(null, new Rectangle(1, 2, 3, 4), new ListViewItem(), new ListViewItem.ListViewSubItem(), -1, 0, new ColumnHeader(), ListViewItemStates.Default));
49
Assert.Throws<ArgumentNullException>("item", () => new
DrawListViewSubItemEventArgs
(graphics, new Rectangle(1, 2, 3, 4), null, new ListViewItem.ListViewSubItem(), -1, 0, new ColumnHeader(), ListViewItemStates.Default));
59
Assert.Throws<ArgumentNullException>("subItem", () => new
DrawListViewSubItemEventArgs
(graphics, new Rectangle(1, 2, 3, 4), new ListViewItem(), null, itemIndex, 0, new ColumnHeader(), ListViewItemStates.Default));
68
DrawListViewSubItemEventArgs e =
new
(graphics, new Rectangle(1, 2, 3, 4), new ListViewItem(), null, -1, -1, new ColumnHeader(), ListViewItemStates.Checked)
118
DrawListViewSubItemEventArgs e =
new
(graphics, bounds, item, subItem, itemIndex, 0, header, itemState);
128
DrawListViewSubItemEventArgs e =
new
(graphics, bounds, item, subItem, itemIndex, 0, header, itemState);