共用方式為


ToggleButtonEventArgs.ParentShape 屬性

取得傳送這個事件的圖案欄位的父圖案

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Public ReadOnly Property ParentShape As ShapeElement
public ShapeElement ParentShape { get; }

屬性值

類型:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

.NET Framework 安全性

請參閱

參考

ToggleButtonEventArgs 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間