TextField.GetMultipleLine Method
If true, the text can wrap onto more than one line to fit the width available.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Function GetMultipleLine ( _
parentShape As ShapeElement _
) As Boolean
public virtual bool GetMultipleLine(
ShapeElement parentShape
)
public:
virtual bool GetMultipleLine(
ShapeElement^ parentShape
)
abstract GetMultipleLine :
parentShape:ShapeElement -> bool
override GetMultipleLine :
parentShape:ShapeElement -> bool
public function GetMultipleLine(
parentShape : ShapeElement
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent ShapeElement of this field.
Return Value
Type: System.Boolean
Remarks
The default method returns the value of DefaultMultipleLine. You can override this method in your own subclass. For more information, see TextField.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.