ShapeField.GetMaximumInPlaceEditorSize Method
Gets the maximum bounds for the in-place editor.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function GetMaximumInPlaceEditorSize ( _
parentShape As ShapeElement _
) As SizeD
'Usage
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As SizeD
returnValue = instance.GetMaximumInPlaceEditorSize(parentShape)
public virtual SizeD GetMaximumInPlaceEditorSize(
ShapeElement parentShape
)
public:
virtual SizeD GetMaximumInPlaceEditorSize(
ShapeElement^ parentShape
)
public function GetMaximumInPlaceEditorSize(
parentShape : ShapeElement
) : SizeD
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The maximum bounds for the in-place editor.
.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.