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






Gets or sets the height of the component. Set to -1 to let the component calculate it automatically.
语法
'声明
 
<C1DescriptionAttribute("该组件的高度。设置为-1表示组件自动计算该置。")>
<C1CategoryAttribute("布局")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<System.ComponentModel.LocalizableAttribute(True)>
Public Overridable Property Height As System.Integer
'用法
 
Dim instance As InputComponent
Dim value As System.Integer
 
instance.Height = value
 
value = instance.Height
[C1Description("该组件的高度。设置为-1表示组件自动计算该置。")]
[C1Category("布局")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
public virtual System.int Height {get; set;}
public read-write property Height: System.Integer; virtual; 
C1DescriptionAttribute("该组件的高度。设置为-1表示组件自动计算该置。")
C1CategoryAttribute("布局")
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
System.ComponentModel.LocalizableAttribute()
public function get,set Height : System.int
[C1Description("该组件的高度。设置为-1表示组件自动计算该置。")]
[C1Category("布局")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
public: __property virtual System.int get_Height();
public: __property virtual void set_Height( 
   System.int value
);
[C1Description("该组件的高度。设置为-1表示组件自动计算该置。")]
[C1Category("布局")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
public:
virtual property System.int Height {
   System.int get();
   void set (    System.int 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