TextField.GetMaximumInPlaceEditorSize Method
By default, we allow the in-place edit control to resize up to 75 characters.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overrides Function GetMaximumInPlaceEditorSize ( _
parentShape As ShapeElement _
) As SizeD
public override SizeD GetMaximumInPlaceEditorSize(
ShapeElement parentShape
)
public:
virtual SizeD GetMaximumInPlaceEditorSize(
ShapeElement^ parentShape
) override
abstract GetMaximumInPlaceEditorSize :
parentShape:ShapeElement -> SizeD
override GetMaximumInPlaceEditorSize :
parentShape:ShapeElement -> SizeD
public override function GetMaximumInPlaceEditorSize(
parentShape : ShapeElement
) : SizeD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
.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.