WordWrap Property (TextLayoutProperties)
Gets or sets a value indicating whether words must be wrapped automatically to the beginning of the next line when necessary.
'Declaration
Public Property WordWrap As Boolean
public bool WordWrap { get; set; }
public: __property bool get_WordWrap();
public: __property void set_WordWrap(
bool
);
public:
property bool WordWrap {
bool get();
void set(bool );
}
Property Value
True - words must be wrapped automatically to the beginning of the next line when necessary; otherwise, false.
Default value is true.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5