Diagram.FocusedDiagramView Property
Gets the diagram view that has the focus.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public ReadOnly Property FocusedDiagramView As DiagramView
'Usage
Dim instance As Diagram
Dim value As DiagramView
value = instance.FocusedDiagramView
public DiagramView FocusedDiagramView { get; }
public:
property DiagramView^ FocusedDiagramView {
DiagramView^ get ();
}
public function get FocusedDiagramView () : DiagramView
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramView
The diagram view that has the focus; otherwise, nulla null reference (Nothing in Visual Basic) if no diagram view has the focus.
.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.