Intersoft ClientUI Documentation
GetMainLayoutRoot(Control) Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > Utility Class > GetMainLayoutRoot Method : GetMainLayoutRoot(Control) Method






control
Control.
Gets the main layout root that host the specified control.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetMainLayoutRoot( _
   ByVal control As Control _
) As FrameworkElement
Visual Basic (Usage)Copy Code
Dim control As Control
Dim value As FrameworkElement
 
value = Utility.GetMainLayoutRoot(control)
C# 
public static FrameworkElement GetMainLayoutRoot( 
   Control control
)
Delphi 
public function GetMainLayoutRoot( 
    control: Control
): FrameworkElement; static; 
JScript 
public static function GetMainLayoutRoot( 
   control : Control
) : FrameworkElement;
Managed Extensions for C++ 
public: static FrameworkElement* GetMainLayoutRoot( 
   Control* control
) 
C++/CLI 
public:
static FrameworkElement^ GetMainLayoutRoot( 
   Control^ control
) 

Parameters

control
Control.

Return Value

Main layout root.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.