Share via


TextField.DefaultMultipleLine Property

If true, the text automatically wraps over more than one line to fit into the width available.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Property DefaultMultipleLine As Boolean
'Usage
Dim instance As TextField 
Dim value As Boolean 

value = instance.DefaultMultipleLine

instance.DefaultMultipleLine = value
public bool DefaultMultipleLine { get; set; }
public:
property bool DefaultMultipleLine {
    bool get ();
    void set (bool value);
}
public function get DefaultMultipleLine () : boolean 
public function set DefaultMultipleLine (value : boolean)

Property Value

Type: System.Boolean

Remarks

To set this value for a particular text field in every instance of a particular shape class, override InitializeShapeFields() in the shape class, find the text field, and assign the new value. For more information and examples, see TextField.

.NET Framework Security

See Also

Reference

TextField Class

TextField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace