System.Windows.Forms.ToolStripTextBox.Lines Property

Gets or sets the lines of text in a System.Windows.Forms.ToolStripTextBox control.

Syntax

[System.ComponentModel.Editor("System.Windows.Forms.Design.StringArrayEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Localizable(true)]
public string[] Lines { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Each element in the array becomes a line of text in the text box control. If the ToolStripTextBox.Multiline property of the text box control is set to true and a newline character appears in the text, the text following the newline character is added to a new element in the array and displayed on a separate line.

Requirements

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