共用方式為


DiagramPaintEventArgs.View Property

Gets the view that the Graphics object belongs to. This property may return null if the Graphics object does not belong to a DiagramClientView.

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 View As DiagramClientView
    Get
public DiagramClientView View { get; }
public:
property DiagramClientView^ View {
    DiagramClientView^ get ();
}
member View : DiagramClientView
function get View () : DiagramClientView

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView

.NET Framework Security

See Also

Reference

DiagramPaintEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace