9 instantiations of DrawListViewItemEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2639
DrawListViewItemEventArgs e =
new
(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (8)
26
DrawListViewItemEventArgs e =
new
(graphics, item, bounds, itemIndex, state);
38
Assert.Throws<ArgumentNullException>("graphics", () => new
DrawListViewItemEventArgs
(null, new ListViewItem(), new Rectangle(1, 2, 3, 4), 0, ListViewItemStates.Default));
46
Assert.Throws<ArgumentNullException>("item", () => new
DrawListViewItemEventArgs
(graphics, null, new Rectangle(1, 2, 3, 4), 0, ListViewItemStates.Default));
55
DrawListViewItemEventArgs e =
new
(graphics, new ListViewItem(), new Rectangle(1, 2, 3, 4), -1, ListViewItemStates.Checked)
114
DrawListViewItemEventArgs e =
new
(graphics, item, bounds, -1, state);
124
DrawListViewItemEventArgs e =
new
(graphics, item, bounds, -1, state);
134
DrawListViewItemEventArgs e =
new
(graphics, item, bounds, -1, state);
144
DrawListViewItemEventArgs e =
new
(graphics, item, bounds, -1, state);
9 references to DrawListViewItemEventArgs
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\DrawListViewItemEventHandler.cs (1)
9
public delegate void DrawListViewItemEventHandler(object? sender,
DrawListViewItemEventArgs
e);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2639
DrawListViewItemEventArgs
e = new(
4481
protected virtual void OnDrawItem(
DrawListViewItemEventArgs
e)
System.Windows.Forms.Tests (6)
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (6)
26
DrawListViewItemEventArgs
e = new(graphics, item, bounds, itemIndex, state);
55
DrawListViewItemEventArgs
e = new(graphics, new ListViewItem(), new Rectangle(1, 2, 3, 4), -1, ListViewItemStates.Checked)
114
DrawListViewItemEventArgs
e = new(graphics, item, bounds, -1, state);
124
DrawListViewItemEventArgs
e = new(graphics, item, bounds, -1, state);
134
DrawListViewItemEventArgs
e = new(graphics, item, bounds, -1, state);
144
DrawListViewItemEventArgs
e = new(graphics, item, bounds, -1, state);