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

'Declaração
<BrowsableAttribute(False)> _
Public ReadOnly Property Container As Control
    Get
[BrowsableAttribute(false)]
public Control Container { get; }
[BrowsableAttribute(false)]
public:
property Control^ Container {
    Control^ get ();
}
[<BrowsableAttribute(false)>]
member Container : Control
function get Container () : 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.

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

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)