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
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.