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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The 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.