DataGridViewTextBoxEditingControl.RepositionEditingControlOnValueChange Property


Gets 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)

public virtual bool RepositionEditingControlOnValueChange { get; }

Property Value

Type: System.Boolean

true if the cell's WrapMode is set to true and the alignment property is not set to one of the DataGridViewContentAlignment values that aligns the content to the top; otherwise, false.

.NET Framework
Available since 2.0
Return to top