Property AllowsReturn | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

AllowsReturn

Gets or sets whether pressing ENTER in a TextView creates a new line of text in the view or invokes the Accepting event.

public bool AllowsReturn { get; set; }

Property Value

bool

Remarks

Setting this property alters Multiline. If AllowsReturn is set to true, then Multiline is also set to `true` and vice-versa.

If AllowsReturn is set to false, then AllowsTab gets set tofalse.

Edit this page