InputPanel for WinForms帮助文档
HorizontalAlign 属性






Gets or sets how content is horizontally aligned within the InputComponent.
语法
'声明
 
<C1CategoryAttribute("布局")>
<C1DescriptionAttribute("获取或设置内容如何在该InputComponent中间水平对齐。")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<System.ComponentModel.LocalizableAttribute(True)>
<System.ComponentModel.DefaultValueAttribute()>
Public Overridable Property HorizontalAlign As InputContentAlignment
'用法
 
Dim instance As InputComponent
Dim value As InputContentAlignment
 
instance.HorizontalAlign = value
 
value = instance.HorizontalAlign
[C1Category("布局")]
[C1Description("获取或设置内容如何在该InputComponent中间水平对齐。")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
public virtual InputContentAlignment HorizontalAlign {get; set;}
public read-write property HorizontalAlign: InputContentAlignment; virtual; 
C1CategoryAttribute("布局")
C1DescriptionAttribute("获取或设置内容如何在该InputComponent中间水平对齐。")
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
System.ComponentModel.LocalizableAttribute()
System.ComponentModel.DefaultValueAttribute()
public function get,set HorizontalAlign : InputContentAlignment
[C1Category("布局")]
[C1Description("获取或设置内容如何在该InputComponent中间水平对齐。")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
public: __property virtual InputContentAlignment get_HorizontalAlign();
public: __property virtual void set_HorizontalAlign( 
   InputContentAlignment value
);
[C1Category("布局")]
[C1Description("获取或设置内容如何在该InputComponent中间水平对齐。")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
public:
virtual property InputContentAlignment HorizontalAlign {
   InputContentAlignment get();
   void set (    InputContentAlignment 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