共用方式為


Diagram.FocusedDiagramView Property

Gets the diagram view that has the focus.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public ReadOnly Property FocusedDiagramView As DiagramView
    Get
public DiagramView FocusedDiagramView { get; }
public:
property DiagramView^ FocusedDiagramView {
    DiagramView^ get ();
}
member FocusedDiagramView : DiagramView
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

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace