Finds the next item from the System.Windows.Forms.ListViewItem, searching in the specified direction.
- searchDirection
- One of the System.Windows.Forms.SearchDirectionHint values.
The System.Windows.Forms.ListViewItem that is closest to the given coordinates, searching in the specified direction.
The ListViewItem.FindNearestItem(SearchDirectionHint) method returns null if no item is found in the given direction.
Identifying the nearest item can vary depending on the operating system the application is running on and will affect the results of ListViewItem.FindNearestItem(SearchDirectionHint).