InputPanel for WinForms帮助文档
WordWrap 属性 (InputTextBox)






Gets or sets whether text should be allowed to wrap within the InputTextBox.
语法
'声明
 
<C1CategoryAttribute("行为")>
<C1DescriptionAttribute("指示是否允许文本在InputTextBox中折行。")>
<System.ComponentModel.LocalizableAttribute(True)>
<System.ComponentModel.DefaultValueAttribute()>
Public Property WordWrap As System.Boolean
'用法
 
Dim instance As InputTextBox
Dim value As System.Boolean
 
instance.WordWrap = value
 
value = instance.WordWrap
[C1Category("行为")]
[C1Description("指示是否允许文本在InputTextBox中折行。")]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
public System.bool WordWrap {get; set;}
public read-write property WordWrap: System.Boolean; 
C1CategoryAttribute("行为")
C1DescriptionAttribute("指示是否允许文本在InputTextBox中折行。")
System.ComponentModel.LocalizableAttribute()
System.ComponentModel.DefaultValueAttribute()
public function get,set WordWrap : System.boolean
[C1Category("行为")]
[C1Description("指示是否允许文本在InputTextBox中折行。")]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
public: __property System.bool get_WordWrap();
public: __property void set_WordWrap( 
   System.bool value
);
[C1Category("行为")]
[C1Description("指示是否允许文本在InputTextBox中折行。")]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue()]
public:
property System.bool WordWrap {
   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