11 references to Down
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
3205
return FindItem(true, text, isPrefixSearch, new Point(0, 0), SearchDirectionHint.
Down
, startIndex, includeSubItemsInSearch);
3220
if (searchDirection is < SearchDirectionHint.Left or > SearchDirectionHint.
Down
)
3246
case SearchDirectionHint.
Down
:
6861
SearchDirectionHint dir = SearchDirectionHint.
Down
;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListViewTests.cs (2)
5042
ListView_FindNearestItem_Check_Result(listItems, listViewItemToTest, SearchDirectionHint.
Down
, downitem);
5098
ListView_FindNearestItem_Check_Result(listItems, listViewItemToTest, SearchDirectionHint.
Down
, downitem);
System\Windows\Forms\SearchForVirtualItemEventArgsTests.cs (5)
13
yield return new object[] { true, false, true, null, Point.Empty, SearchDirectionHint.
Down
+ 1, -2 };
14
yield return new object[] { false, true, false, "", new Point(1, 2), SearchDirectionHint.
Down
, -1 };
15
yield return new object[] { false, true, false, "text", new Point(-1, -2), SearchDirectionHint.
Down
, 0 };
16
yield return new object[] { false, true, false, "text", new Point(1, 2), SearchDirectionHint.
Down
, 1 };
41
SearchForVirtualItemEventArgs e = new(false, true, false, "text", new Point(1, 2), SearchDirectionHint.
Down
, 1)