ShapeField.HasSelectedAppearance Method
Gets the shape field and verifies whether it appears to be selected.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Function HasSelectedAppearance ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Boolean
public bool HasSelectedAppearance(
ShapeElement parentShape,
DiagramClientView view
)
public:
bool HasSelectedAppearance(
ShapeElement^ parentShape,
DiagramClientView^ view
)
member HasSelectedAppearance :
parentShape:ShapeElement *
view:DiagramClientView -> bool
public function HasSelectedAppearance(
parentShape : ShapeElement,
view : DiagramClientView
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The diagram client view.
Return Value
Type: System.Boolean
true if the shape field appears to be selected; otherwise, 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.