DataGridViewTextBoxEditingControl::EditingControlFormattedValue Property

 

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

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

public:
property Object^ EditingControlFormattedValue {
	virtual Object^ get();
	virtual void set(Object^ value);
}

Property Value

Type: System::Object^

An object representing the current value of this control.

The Text property contains the actual data contained by the control. The data is the string shown in the text box of the control. In contrast, the EditingControlFormattedValue property is the formatted representation of this string. Since a text box uses plain text strings, these two properties are essentially the same.

.NET Framework
Available since 2.0
Return to top
Show: