8 instantiations of 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);
7 references to DrawListViewSubItemEventArgs
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventHandler.cs (1)
9public delegate void DrawListViewSubItemEventHandler(object? sender, DrawListViewSubItemEventArgs e);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2703DrawListViewSubItemEventArgs? e = null; 4489protected virtual void OnDrawSubItem(DrawListViewSubItemEventArgs e)
System.Windows.Forms.Tests (4)
System\Windows\Forms\DrawListViewSubItemEventArgsTests.cs (4)
26DrawListViewSubItemEventArgs e = new(graphics, bounds, item, subItem, itemIndex, columnIndex, header, itemState); 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);