ShapeField.HasFocusedAppearance(ShapeElement, DiagramClientView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether this field should show the field as focused. This can be different from the Focused property when this field reflects the Focused state of its parent. (See DefaultReflectParentFocusedState property.)
public:
bool HasFocusedAppearance(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public bool HasFocusedAppearance (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
member this.HasFocusedAppearance : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Function HasFocusedAppearance (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 focused.