System.Windows.Forms.TextBox.Multiline Property

Gets or sets a value indicating whether this is a multiline System.Windows.Forms.TextBox control.

Syntax

public override bool Multiline { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

TextBox.AutoCompleteSource does not work on multiline System.Windows.Forms.TextBox controls. Additionally, the CTRL+A keyboard shortcut does not work on multiline System.Windows.Forms.TextBox controls, regardless of the TextBoxBase.ShortcutsEnabled property value.

When the font is changed, any indentation that you have defined does not appear. To get indentation, set TextBox.Multiline to true and override WM_SETFONT without calling the base class so that SETMARGINS is not called.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0
Since: .NET 2.0