Delen 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Property DefaultMultipleLine As Boolean
public bool DefaultMultipleLine { get; set; }
public:
property bool DefaultMultipleLine {
    bool get ();
    void set (bool value);
}
member DefaultMultipleLine : bool with get, set
function get DefaultMultipleLine () : boolean 
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace