Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overridable Function AllowInPlaceEditorAutoSize ( _
    parentShape As ShapeElement _
) As Boolean
public virtual bool AllowInPlaceEditorAutoSize(
    ShapeElement parentShape
)
public:
virtual bool AllowInPlaceEditorAutoSize(
    ShapeElement^ parentShape
)
abstract AllowInPlaceEditorAutoSize : 
        parentShape:ShapeElement -> bool  
override AllowInPlaceEditorAutoSize : 
        parentShape:ShapeElement -> bool
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace