Modifier

Partager via


IDataGridViewEditingCell.PrepareEditingCellForEdit(Boolean) Method

Definition

Prepares the currently selected cell for editing.

public:
 void PrepareEditingCellForEdit(bool selectAll);
public void PrepareEditingCellForEdit (bool selectAll);
abstract member PrepareEditingCellForEdit : bool -> unit
Public Sub PrepareEditingCellForEdit (selectAll As Boolean)

Parameters

selectAll
Boolean

true to select the cell contents; otherwise, false.

Remarks

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.

Applies to

See also