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
- 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.