Condividi tramite


Text (TextBox)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the contents of the text box.

<TextBox Text="string" .../>
value = object.Text
object.Text = value

Property Value

Type: string

A string that contains the contents of the text box.

This property is read/write. The default is an empty string

Managed Equivalent

Text

Applies To

TextBox

Version Information

Silverlight 2