ShapeField.GetInPlaceEditorBounds Method
Gets the bounds for the in-place editor.
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 GetInPlaceEditorBounds ( _
parentShape As ShapeElement _
) As RectangleD
public virtual RectangleD GetInPlaceEditorBounds(
ShapeElement parentShape
)
public:
virtual RectangleD GetInPlaceEditorBounds(
ShapeElement^ parentShape
)
abstract GetInPlaceEditorBounds :
parentShape:ShapeElement -> RectangleD
override GetInPlaceEditorBounds :
parentShape:ShapeElement -> RectangleD
public function GetInPlaceEditorBounds(
parentShape : ShapeElement
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The 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.