TextBox.Text Property
Silverlight
Gets or sets the text contents of the text box.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
<TextBox Text="string"/>
Property Value
Type: System.StringA string containing the text contents of the text box. The default is an empty string ("").
| Exception | Condition |
|---|---|
| ArgumentNullException |
The value is set to null. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.