InPlaceTextEditor.CanEditValue Method
Returns a value indicating whether the value of this field can be edited.
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 Function CanEditValue ( _
parentShape As ShapeElement, _
field As ShapeField, _
subfield As ShapeSubField, _
view As DiagramClientView _
) As Boolean
public bool CanEditValue(
ShapeElement parentShape,
ShapeField field,
ShapeSubField subfield,
DiagramClientView view
)
public:
bool CanEditValue(
ShapeElement^ parentShape,
ShapeField^ field,
ShapeSubField^ subfield,
DiagramClientView^ view
)
member CanEditValue :
parentShape:ShapeElement *
field:ShapeField *
subfield:ShapeSubField *
view:DiagramClientView -> bool
public function CanEditValue(
parentShape : ShapeElement,
field : ShapeField,
subfield : ShapeSubField,
view : DiagramClientView
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement instance that contains this field.
- subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view that will become the parent of the editor.
Return Value
Type: System.Boolean
.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.