20 references to Focused
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (2)
75
if ((State & ListViewItemStates.
Focused
) == ListViewItemStates.
Focused
)
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (2)
111
if ((ItemState & ListViewItemStates.
Focused
) == ListViewItemStates.
Focused
)
System.Windows.Forms.Tests (16)
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (7)
15
yield return new object[] { new Rectangle(-1, 2, -3, -4), 0, ListViewItemStates.
Focused
};
73
yield return new object[] { new ListViewItem(), new Rectangle(1, 2, 3, 4), ListViewItemStates.
Focused
};
76
yield return new object[] { new ListViewItem(), Rectangle.Empty, ListViewItemStates.
Focused
};
79
yield return new object[] { new ListViewItem(), new Rectangle(-1, -2, -3, -4), ListViewItemStates.
Focused
};
88
yield return new object[] { listViewItem, new Rectangle(1, 2, 3, 4), ListViewItemStates.
Focused
};
95
yield return new object[] { subItemsItem, new Rectangle(1, 2, 3, 4), ListViewItemStates.
Focused
};
103
yield return new object[] { fullRowSelectListViewItem, new Rectangle(1, 2, 3, 4), ListViewItemStates.
Focused
};
System\Windows\Forms\DrawListViewSubItemEventArgsTests.cs (9)
16
yield return new object[] { new Rectangle(-1, 2, -3, -4), new ListViewItem(), new ListViewItem.ListViewSubItem(), 0, 0, new ColumnHeader(), ListViewItemStates.
Focused
};
87
yield return new object[] { new Rectangle(-1, -2, -3, -4), new ListViewItem(), null, -1, null, ListViewItemStates.
Focused
};
90
yield return new object[] { new Rectangle(-1, -2, -3, -4), new ListViewItem(), null, -1, new ColumnHeader(), ListViewItemStates.
Focused
};
93
yield return new object[] { new Rectangle(1, 2, 3, 4), new ListViewItem(), null, -1, null, ListViewItemStates.
Focused
};
96
yield return new object[] { new Rectangle(1, 2, 3, 4), new ListViewItem(), null, -1, new ColumnHeader(), ListViewItemStates.
Focused
};
100
yield return new object[] { new Rectangle(-1, -2, -3, -4), null, new ListViewItem.ListViewSubItem(), 0, null, ListViewItemStates.
Focused
};
103
yield return new object[] { new Rectangle(-1, -2, -3, -4), null, new ListViewItem.ListViewSubItem(), 0, new ColumnHeader(), ListViewItemStates.
Focused
};
106
yield return new object[] { new Rectangle(1, 2, 3, 4), null, new ListViewItem.ListViewSubItem(), 0, null, ListViewItemStates.
Focused
};
109
yield return new object[] { new Rectangle(1, 2, 3, 4), null, new ListViewItem.ListViewSubItem(), 0, new ColumnHeader(), ListViewItemStates.
Focused
};