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

'宣言
Public ReadOnly Property FocusedDiagramView As DiagramView
'使用
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, a null reference (Nothing in Visual Basic) if no diagram view has the focus.

Permissions

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace