Leadtools.Annotations Namespace > AnnTextEditDesigner Class : AcceptsReturn Property |
public bool AcceptsReturn {get; set;}
'Declaration Public Property AcceptsReturn As Boolean
'Usage Dim instance As AnnTextEditDesigner Dim value As Boolean instance.AcceptsReturn = value value = instance.AcceptsReturn
public bool AcceptsReturn {get; set;}
get_AcceptsReturn();
set_AcceptsReturn(value);
The AnnTextEditDesigner class creates a standard System.Windows.Forms.TextBox control when activated. It will automatically set the value System.Windows.Forms.TextBox.Multiline to true to support multiple-lines in the text box. The AcceptsReturn property will be set in the System.Windows.Forms.TextBox.AcceptsReturn of the created text box control to control how ENTER key strokes are handled.
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