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

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

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace