Version

Text Property

Gets or sets the value of the editor as text.
Syntax
'Declaration
 
Public Property Text As String
public string Text {get; set;}
Remarks

Setting the Text property will also update the Value property. If the new text can not be parsed into the value type (ValueType) then the Value property will not be updated.

Note: As the user enters/modifies contents, the Text and Value properties will be synchronously updated to reflect the current contents. If the user input can not be parsed into the value type, the Text property will be updated however the Value property will retain last parsed value. However in such a case IsValueValid property will return False indicating that the user input is invalid.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also