DataGridViewComboBoxEditingControl.EditingControlFormattedValue Property


Gets or sets the formatted representation of the current value of the control.

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

public virtual object EditingControlFormattedValue { get; set; }

Property Value

Type: System.Object

An object representing the current value of this control.

The Text property contains the actual data contained in the control. This data is the string shown in the text box portion of the control. In contrast, the GetEditingControlFormattedValue method returns the formatted representation of this string. Because a combo box uses plain text strings, these two properties are essentially the same.

.NET Framework
Available since 2.0
Return to top