Compartir a través de


ShapeCollection.Owner Property

Gets the ShapeContainer that owns the ShapeCollection.

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

Syntax

'Declaration
Public ReadOnly Property Owner As ShapeContainer
public ShapeContainer Owner { get; }
public:
property ShapeContainer^ Owner {
    ShapeContainer^ get ();
}
member Owner : ShapeContainer with get
function get Owner () : ShapeContainer

Property Value

Type: Microsoft.VisualBasic.PowerPacks.ShapeContainer
The ShapeContainer that owns the ShapeCollection.

Remarks

This property is the equivalent of the Parent property of a LineShape, OvalShape, or RectangleShape control.

.NET Framework Security

See Also

Reference

ShapeCollection Class

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

Introduction to the Line and Shape Controls (Visual Studio)

How to: Draw Lines with the LineShape Control (Visual Studio)

How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)