MaskedTextBox::WordWrap Property

 

Gets or sets a value indicating whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. This property is not supported by MaskedTextBox.

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

public:
[BrowsableAttribute(false)]
property bool WordWrap {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

The WordWrap property always returns false.

Because MaskedTextBox does not support multiple lines of input, the WordWrap property is ignored.

.NET Framework
Available since 2.0
Return to top
Show: