ShapeField.HasSelectedAppearance(ShapeElement, DiagramClientView) Method

Definition

Returns a value that indicates whether this field should show the field as selected. This can be different from the Selected property when this field reflects the Selected state of its parent. (See DefaultReflectParentSelectedState property.)

public:
 bool HasSelectedAppearance(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public bool HasSelectedAppearance (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
member this.HasSelectedAppearance : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Function HasSelectedAppearance (parentShape As ShapeElement, view As DiagramClientView) As Boolean

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeField.

view
DiagramClientView

The DiagramClientView to check.

Returns

true if this field should show itself as selected.

Applies to