IDataGridViewEditingCell::PrepareEditingCellForEdit Method (Boolean)

 

Prepares the currently selected cell for editing

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

void PrepareEditingCellForEdit(
	bool selectAll
)

Parameters

selectAll
Type: System::Boolean

true to select the cell contents; otherwise, false.

The purpose of this method is to prepare the cell and its contents for editing. For example, you might want to put the insertion point at the end of the cell contents, or change how the contents are aligned.

.NET Framework
Available since 2.0
Return to top
Show: