InputPanel for WinForms帮助文档
AcceptsReturn 属性






Gets or sets a value that determines whether the InputTextBox should handle the Enter key in a multiline mode.
语法
'声明
 
<C1CategoryAttribute("行为")>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute("决定是否InputTextBox应当在多行模式下处理Enter键。")>
Public Property AcceptsReturn As System.Boolean
'用法
 
Dim instance As InputTextBox
Dim value As System.Boolean
 
instance.AcceptsReturn = value
 
value = instance.AcceptsReturn
[C1Category("行为")]
[System.ComponentModel.DefaultValue()]
[C1Description("决定是否InputTextBox应当在多行模式下处理Enter键。")]
public System.bool AcceptsReturn {get; set;}
public read-write property AcceptsReturn: System.Boolean; 
C1CategoryAttribute("行为")
System.ComponentModel.DefaultValueAttribute()
C1DescriptionAttribute("决定是否InputTextBox应当在多行模式下处理Enter键。")
public function get,set AcceptsReturn : System.boolean
[C1Category("行为")]
[System.ComponentModel.DefaultValue()]
[C1Description("决定是否InputTextBox应当在多行模式下处理Enter键。")]
public: __property System.bool get_AcceptsReturn();
public: __property void set_AcceptsReturn( 
   System.bool value
);
[C1Category("行为")]
[System.ComponentModel.DefaultValue()]
[C1Description("决定是否InputTextBox应当在多行模式下处理Enter键。")]
public:
property System.bool AcceptsReturn {
   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