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






Gets or sets the System.Drawing.Color used to display text in the InputComponent.
语法
'声明
 
<C1DescriptionAttribute("用来显示InputComponent内文本的颜色。")>
<C1CategoryAttribute("外观")>
Public Property ForeColor As System.Drawing.Color
'用法
 
Dim instance As InputComponent
Dim value As System.Drawing.Color
 
instance.ForeColor = value
 
value = instance.ForeColor
[C1Description("用来显示InputComponent内文本的颜色。")]
[C1Category("外观")]
public System.Drawing.Color ForeColor {get; set;}
public read-write property ForeColor: System.Drawing.Color; 
C1DescriptionAttribute("用来显示InputComponent内文本的颜色。")
C1CategoryAttribute("外观")
public function get,set ForeColor : System.Drawing.Color
[C1Description("用来显示InputComponent内文本的颜色。")]
[C1Category("外观")]
public: __property System.Drawing.Color get_ForeColor();
public: __property void set_ForeColor( 
   System.Drawing.Color value
);
[C1Description("用来显示InputComponent内文本的颜色。")]
[C1Category("外观")]
public:
property System.Drawing.Color ForeColor {
   System.Drawing.Color get();
   void set (    System.Drawing.Color 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