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






element
Element.
Gets the main layout root that host the specified element.

Syntax

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

Parameters

element
Element.

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.