MaskedTextBox.Lines Property


Gets or sets the lines of text in multiline configurations. This property is not supported by MaskedTextBox.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public string[] Lines { get; set; }

Property Value

Type: System.String[]

An array of type String that contains a single line.

The Lines property is inherited from the base TextBoxBase class. However, because the MaskedTextBox control does not support multiline configuration, this property is not supported.

.NET Framework
Available since 2.0
Return to top