InputPanel for WinForms帮助文档
Multiline 属性






Gets or sets a value that determines whether the user can type more than one line of text into the InputTextBox.
语法
'声明
 
<System.ComponentModel.LocalizableAttribute(True)>
<System.ComponentModel.DefaultValueAttribute()>
<C1CategoryAttribute("行为")>
<C1DescriptionAttribute("决定是否用户可以向InputTextBox中键入多于一行的文本。")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property Multiline As System.Boolean
'用法
 
Dim instance As InputTextBox
Dim value As System.Boolean
 
instance.Multiline = value
 
value = instance.Multiline
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
[C1Category("行为")]
[C1Description("决定是否用户可以向InputTextBox中键入多于一行的文本。")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
public System.bool Multiline {get; set;}
public read-write property Multiline: System.Boolean; 
System.ComponentModel.LocalizableAttribute()
System.ComponentModel.DefaultValueAttribute()
C1CategoryAttribute("行为")
C1DescriptionAttribute("决定是否用户可以向InputTextBox中键入多于一行的文本。")
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
public function get,set Multiline : System.boolean
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
[C1Category("行为")]
[C1Description("决定是否用户可以向InputTextBox中键入多于一行的文本。")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
public: __property System.bool get_Multiline();
public: __property void set_Multiline( 
   System.bool value
);
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
[C1Category("行为")]
[C1Description("决定是否用户可以向InputTextBox中键入多于一行的文本。")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
public:
property System.bool Multiline {
   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

请参见

引用

InputTextBox 类
InputTextBox 成员

Send Feedback