Share via


Shape.Container Property

 

Gets the IContainer that contains the Component.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

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

Property Value

Type: System.Windows.Forms.Control

A null reference (Nothing in Visual Basic).

Remarks

This property is inherited from Component and is not intended for use by Shape or by any classes that inherit from Shape.

See Also

Shape Class
Microsoft.VisualBasic.PowerPacks Namespace
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)
Introduction to the Line and Shape Controls (Visual Studio)

Return to top