共用方式為


Shape.Container 屬性

取得包含 ComponentIContainer

命名空間:  Microsoft.VisualBasic.PowerPacks
組件:  Microsoft.VisualBasic.PowerPacks.Vs (在 Microsoft.VisualBasic.PowerPacks.Vs.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property Container As Control
[BrowsableAttribute(false)]
public Control Container { get; }
[BrowsableAttribute(false)]
public:
property Control^ Container {
    Control^ get ();
}
[<BrowsableAttribute(false)>]
member Container : Control
function get Container () : Control

屬性值

型別:System.Windows.Forms.Control
N ull 參考 (Nothing在Visual Basic)。

備註

這個屬性繼承自Component而不是使用Shape ,或任何繼承自類別, Shape

.NET Framework 安全性

請參閱

參考

Shape 類別

Microsoft.VisualBasic.PowerPacks 命名空間

其他資源

HOW TO:使用 LineShape 控制項繪製線條 (Visual Studio)

HOW TO:使用 OvalShape 和 RectangleShape 控制項繪製圖案 (Visual Studio)

Line 和 Shape 控制項簡介 (Visual Studio)