1 write to Item
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (1)
24
Item
= item.OrThrowIfNull();
12 references to Item
System.Windows.Forms (11)
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (11)
65
using var backBrush =
Item
.BackColor.GetCachedSolidBrushScope();
77
ControlPaint.DrawFocusRectangle(Graphics, UpdateBounds(Bounds, drawText: false),
Item
.ForeColor,
Item
.BackColor);
91
TextRenderer.DrawText(Graphics,
Item
.Text,
Item
.Font, UpdateBounds(Bounds, drawText: true),
Item
.ForeColor, flags);
97
if (
Item
.ListView is not null &&
Item
.ListView.View == View.Details)
101
if (!
Item
.ListView.FullRowSelect &&
Item
.SubItems.Count > 0)
103
ListViewItem.ListViewSubItem subItem =
Item
.SubItems[0];
System.Windows.Forms.Tests (1)
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (1)
28
Assert.Same(item, e.
Item
);