ShapeField.AllowInPlaceEditorAutoSize Method
Enables the in-place editor to be automatically sized in the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function AllowInPlaceEditorAutoSize ( _
parentShape As ShapeElement _
) As Boolean
'Usage
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As Boolean
returnValue = instance.AllowInPlaceEditorAutoSize(parentShape)
public virtual bool AllowInPlaceEditorAutoSize(
ShapeElement parentShape
)
public:
virtual bool AllowInPlaceEditorAutoSize(
ShapeElement^ parentShape
)
public function AllowInPlaceEditorAutoSize(
parentShape : ShapeElement
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape field.
Return Value
Type: System.Boolean
true if the in-place editor should be automatically sized in the shape field; otherwise, false.
Remarks
By default, the return value is false.
.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.