RichEditBox.AcceptsReturn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the RichEditBox allows and displays the newline or return characters when the ENTER or RETURN keys are pressed.
public:
property bool AcceptsReturn { bool get(); void set(bool value); };
bool AcceptsReturn();
void AcceptsReturn(bool value);
public bool AcceptsReturn { get; set; }
var boolean = richEditBox.acceptsReturn;
richEditBox.acceptsReturn = boolean;
Public Property AcceptsReturn As Boolean
<RichEditBox AcceptsReturn="bool"/>
Property Value
Boolean
bool
True if the RichEditBox allows newline characters; otherwise, false. The default is true.