IDataGridViewEditingControl::PrepareEditingControlForEdit Method (Boolean)

 

Prepares the currently selected cell for editing.

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

void PrepareEditingControlForEdit(
	bool selectAll
)

Parameters

selectAll
Type: System::Boolean

true to select all of the cell's content; otherwise, false.

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

.NET Framework
Available since 2.0
Return to top
Show: