This documentation is archived and is not being maintained.
Control.GetTopLevel Method
.NET Framework 1.1
Determines if the control is a top-level control.
[Visual Basic] Protected Function GetTopLevel() As Boolean [C#] protected bool GetTopLevel(); [C++] protected: bool GetTopLevel(); [JScript] protected function GetTopLevel() : Boolean;
Return Value
true if the control is a top-level control; otherwise, false.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Control Class | Control Members | System.Windows.Forms Namespace | SetTopLevel
Show: