共用方式為


MoveableDecoratorHostShape.OnPaintSelection 方法

覆寫 OnPaintSelection(),以繪製從這個主機圖案至錨點的細線。

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

語法

'宣告
Public Overrides Sub OnPaintSelection ( _
    e As DiagramPaintEventArgs _
)
public override void OnPaintSelection(
    DiagramPaintEventArgs e
)

參數

.NET Framework 安全性

請參閱

參考

MoveableDecoratorHostShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間