Gets or sets the text as it is currently displayed to the user.


object.Text [ = "String" ]

Property Value

A string containing the text currently displayed by the control. The default is an empty string.


Strings retrieved using this property are formatted according to the control's formatting properties, such as Mask. Literals and prompt characters are included in the string.

You must assign a string without literal characters to Text. This behavior may change in a future release.

See Also:

Applies To: MaskedTextBox

The CHM file was converted to HTML by chm2web software.