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!

AxHost.TopLevel

Since activeX controls cannot be top level this function will always throw an exception if the value parameter is set to true.

[Visual Basic]
Property TopLevel As Boolean
[C#]
bool TopLevel {override set;}
[C++]
public: __property virtual void set_TopLevel(bool);
[JScript]
public function set TopLevel(Boolean);

See Also

AxHost Class | AxHost Members | System.WinForms Namespace