ComponentOne Basic Library for WPF and Silverlight
GetPosition Method (PopupUtil)


C1.Silverlight Namespace > PopupUtil Class : GetPosition Method
the given element
the given relative position
return a absolute position according to the relative position of element
Syntax
'Declaration
 
Public Shared Function GetPosition( _
   ByVal element As System.Windows.UIElement, _
   ByVal point As System.Windows.Point _
) As System.Windows.Point
'Usage
 
Dim element As System.Windows.UIElement
Dim point As System.Windows.Point
Dim value As System.Windows.Point
 
value = PopupUtil.GetPosition(element, point)
public static System.Windows.Point GetPosition( 
   System.Windows.UIElement element,
   System.Windows.Point point
)

Parameters

element
the given element
point
the given relative position
See Also

Reference

PopupUtil Class
PopupUtil Members