Partager via


IsEnabled

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

Gets or sets the value that determines if the control is enabled in UI.

<object IsEnabled="bool" .../>
value = object.IsEnabled
object.IsEnabled = value

Property Value

Type: Boolean

true if the control is enabled in UI; otherwise, false.

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

Managed Equivalent

IsEnabled

Applies To

TextBox

PasswordBox

Version Information

Silverlight 2