Container property
Returns the object that contains the element. This will be a Group object if the element is part of a group of graphic elements, or a Display object if the element is at the root of the object hierarchy. Read-only.
Syntax
element
.Container
where
element
– is the name of a graphic element object or an expression that evaluates to a graphic element object.Remarks
You can obtain a reference to an element object's siblings through the Elements collection of the containing object which will be either a Display or Group (that is, container.Elements).
Provide Feedback