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






Gets or sets the Font used by the InputComponent.
语法
'声明
 
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute("InputComponent使用的字体。")>
<System.ComponentModel.LocalizableAttribute(True)>
<C1CategoryAttribute("外观")>
Public Property Font As System.Drawing.Font
'用法
 
Dim instance As InputComponent
Dim value As System.Drawing.Font
 
instance.Font = value
 
value = instance.Font
[System.ComponentModel.DefaultValue()]
[C1Description("InputComponent使用的字体。")]
[System.ComponentModel.Localizable(true)]
[C1Category("外观")]
public System.Drawing.Font Font {get; set;}
public read-write property Font: System.Drawing.Font; 
System.ComponentModel.DefaultValueAttribute()
C1DescriptionAttribute("InputComponent使用的字体。")
System.ComponentModel.LocalizableAttribute()
C1CategoryAttribute("外观")
public function get,set Font : System.Drawing.Font
[System.ComponentModel.DefaultValue()]
[C1Description("InputComponent使用的字体。")]
[System.ComponentModel.Localizable(true)]
[C1Category("外观")]
public: __property System.Drawing.Font* get_Font();
public: __property void set_Font( 
   System.Drawing.Font* value
);
[System.ComponentModel.DefaultValue()]
[C1Description("InputComponent使用的字体。")]
[System.ComponentModel.Localizable(true)]
[C1Category("外观")]
public:
property System.Drawing.Font^ Font {
   System.Drawing.Font^ get();
   void set (    System.Drawing.Font^ 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