InputPanel for WinForms帮助文档
Enabled 属性 (InputComponent)






Gets or sets a value indicating whether the component can respond to user interaction.
语法
'声明
 
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute("指示是否组件可以响应用户交互操作。")>
<C1CategoryAttribute("行为")>
Public Overridable Property Enabled As System.Boolean
'用法
 
Dim instance As InputComponent
Dim value As System.Boolean
 
instance.Enabled = value
 
value = instance.Enabled
[System.ComponentModel.DefaultValue()]
[C1Description("指示是否组件可以响应用户交互操作。")]
[C1Category("行为")]
public virtual System.bool Enabled {get; set;}
public read-write property Enabled: System.Boolean; virtual; 
System.ComponentModel.DefaultValueAttribute()
C1DescriptionAttribute("指示是否组件可以响应用户交互操作。")
C1CategoryAttribute("行为")
public function get,set Enabled : System.boolean
[System.ComponentModel.DefaultValue()]
[C1Description("指示是否组件可以响应用户交互操作。")]
[C1Category("行为")]
public: __property virtual System.bool get_Enabled();
public: __property virtual void set_Enabled( 
   System.bool value
);
[System.ComponentModel.DefaultValue()]
[C1Description("指示是否组件可以响应用户交互操作。")]
[C1Category("行为")]
public:
virtual property System.bool Enabled {
   System.bool get();
   void set (    System.bool value);
}
需求

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

请参见

引用

InputComponent 类
InputComponent 成员

Send Feedback