System.Windows.Forms.SearchDirectionHint Enumeration

Provides a directional hint of where to search for a System.Windows.Forms.ListViewItem.

Syntax

public enum SearchDirectionHint

Remarks

This enumeration is used by the erload:System.Windows.Forms.ListView.FindNearestItem methods in the System.Windows.Forms.ListView and System.Windows.Forms.ListViewItem classes, as well as by the System.Windows.Forms.SearchForVirtualItemEventArgs class. Identifying the nearest item in a System.Windows.Forms.ListView control can vary depending on the operating system the application is running on; therefore, the search direction is a hint, and not an absolute guarantee of results.

Members

Member NameDescription
Down

Below the current item.

Left

To the left of the current item

Right

To the right of the current item.

Up

Above the current item.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0