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