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
Get
public ShapeContainer Owner { get; }
public:
property ShapeContainer^ Owner {
ShapeContainer^ get ();
}
member Owner : ShapeContainer
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
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)