IDataGridViewEditingControl.RepositionEditingControlOnValueChange Property


Gets or sets a value indicating whether the cell contents need to be repositioned whenever the value changes.

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

bool RepositionEditingControlOnValueChange { get; }

Property Value

Type: System.Boolean

true if the contents need to be repositioned; otherwise, false.

Some situations require that cell contents reposition when the value changes. For example, cell contents may need to reposition when a cell wraps text and the contents become larger.

.NET Framework
Available since 2.0
Return to top