NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.TopLevelControl

The top level control that contains this control. This doesn't have to be the same as the value returned from getForm since forms can be parented to other controls.

[Visual Basic]
Public ReadOnly Property TopLevelControl As Control
[C#]
public Control TopLevelControl {get;}
[C++]
public: __property Control* get_TopLevelControl();
[JScript]
public function get TopLevelControl() : Control;

See Also

Control Class | Control Members | System.WinForms Namespace