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