Returns the next ContainerControl up in a line or shape control's chain of parent controls.
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
The following example sets the BackColor of the Panel control that contains an OvalShape control. This example requires that you have a Panel control named Panel1 and an OvalShape control named OvalShape1 on a form.
- 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.