Control.GetTopLevel Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the control is a top-level control.
protected:
 bool GetTopLevel();
	protected bool GetTopLevel();
	member this.GetTopLevel : unit -> bool
	Protected Function GetTopLevel () As Boolean
	Returns
true if the control is a top-level control; otherwise, false.