Intersoft ClientUI Documentation
GetDimension Method
See Also  Send Feedback
Intersoft.Client.UI.Controls.Interactivity Namespace > UXPanel Class : GetDimension Method






element
Target element.
Gets dimension value from target element.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetDimension( _
   ByVal element As UIElement _
) As Nullable(Of Size)
Visual Basic (Usage)Copy Code
Dim element As UIElement
Dim value As Nullable(Of Size)
 
value = UXPanel.GetDimension(element)
C# 
public static Nullable<Size> GetDimension( 
   UIElement element
)
Delphi 
public function GetDimension( 
    element: UIElement
): Nullable; static; 
JScript 
public static function GetDimension( 
   element : UIElement
) : Nullable;
Managed Extensions for C++ 
public: static Nullable<Size> GetDimension( 
   UIElement* element
) 
C++/CLI 
public:
static Nullable<Size> GetDimension( 
   UIElement^ element
) 

Parameters

element
Target element.

Return Value

Dimension.

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.