Gets or sets a value that indicates whether the control is enabled.
Syntax
Visual Basic (Declaration) | |
---|
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.CategoryAttribute("Behavior")>
<ISNet.Serialization.XmlSerializableAttribute()>
<System.ComponentModel.DescriptionAttribute("Gets or sets a value that indicates whether the control is enabled.")>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Overrides Property Enabled As System.Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As WebInput
Dim value As System.Boolean
instance.Enabled = value
value = instance.Enabled |
C# | |
---|
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.CategoryAttribute("Behavior")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Gets or sets a value that indicates whether the control is enabled.")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[ISNet.Serialization.BinarySerializableAttribute()]
public override System.bool Enabled {get; set;} |
Delphi | |
---|
public read-write property Enabled: System.Boolean; override; |
JScript | |
---|
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.CategoryAttribute("Behavior")
ISNet.Serialization.XmlSerializableAttribute()
System.ComponentModel.DescriptionAttribute("Gets or sets a value that indicates whether the control is enabled.")
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
ISNet.Serialization.BinarySerializableAttribute()
public override function get,set Enabled : System.boolean |
Managed Extensions for C++ | |
---|
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.CategoryAttribute("Behavior")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Gets or sets a value that indicates whether the control is enabled.")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property System.bool get_Enabled() override;
public: __property void set_Enabled(
System.bool value
) override; |
C++/CLI | |
---|
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.CategoryAttribute("Behavior")]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DescriptionAttribute("Gets or sets a value that indicates whether the control is enabled.")]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property System.bool Enabled {
System.bool get() override;
void set ( System.bool value) override;
} |
Property Value
true if the control is enabled; otherwise, false. The default is true.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also