'宣言 Public Property AutoSearch As AutoSearchEnum
public AutoSearchEnum AutoSearch {get; set;}
'宣言 Public Property AutoSearch As AutoSearchEnum
public AutoSearchEnum AutoSearch {get; set;}
If AutoSearch is on, the grid will search the current column as the user types, automatically moving the cursor and highlighting matches using the CellStyleCollection.Search style. The search is case-insensitive. The search is canceled when the user presses the ESC key or moves the selection with the mouse or cursor keys.
When the user stops typing for about a second, the search buffer is reset. This amount of time can be changed by setting the AutoSearchDelay property.
If AutoSearch is on and AllowEditing is set to true, the user will need to hit ENTER, or F2 to start editing cells. Other keys are used for searching.