ComponentOne FinancialChart for WPF
C1.WPF Namespace / PopupUtil Class / GetPosition Method
the given element
the given relative position



In This Topic
    GetPosition Method (PopupUtil)
    In This Topic
    return a absolute position according to the relative position of element
    Syntax
    'Declaration
     
    
    Public Shared Function GetPosition( _
       ByVal element As UIElement, _
       ByVal point As Point _
    ) As Point
    'Usage
     
    
    Dim element As UIElement
    Dim point As Point
    Dim value As Point
     
    value = PopupUtil.GetPosition(element, point)
    public static Point GetPosition( 
       UIElement element,
       Point point
    )
    public:
    static Point GetPosition( 
       UIElement^ element,
       Point point
    ) 

    Parameters

    element
    the given element
    point
    the given relative position
    See Also