Condividi tramite


IsReadOnly

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

Gets or sets a value that determines if the text box is read-only.

<TextBox IsReadOnly="bool" .../>
value = object.IsReadOnly
object.IsReadOnly = value

Property Value

Type: Boolean

true if the text box is read-only; otherwise, false.

This property is read/write. The default value is false.

Managed Equivalent

IsReadOnly

Applies To

TextBox

Version Information

Silverlight 2