ShapeField.Focused(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.
Gets a value indicating whether the ShapeField has the focus.
public:
bool Focused(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public bool Focused (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
member this.Focused : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Function Focused (parentShape As ShapeElement, view As DiagramClientView) As Boolean
Parameters
- parentShape
- ShapeElement
The parent ShapeElement of this ShapeField.
- view
- DiagramClientView
Returns
true if the ShapeField has the focus.