ComponentOne FinancialChart for WPF
C1.WPF Namespace / DragDropEventArgs Class / GetPosition Method
System.Windows.UIElement that determines the coordinate system of the return value.



In This Topic
    GetPosition Method (DragDropEventArgs)
    In This Topic
    Gets the mouse coordinates relative to a given System.Windows.UIElement.
    Syntax
    'Declaration
     
    
    Public Function GetPosition( _
       ByVal relativeTo As UIElement _
    ) As Point
    'Usage
     
    
    Dim instance As DragDropEventArgs
    Dim relativeTo As UIElement
    Dim value As Point
     
    value = instance.GetPosition(relativeTo)
    public Point GetPosition( 
       UIElement relativeTo
    )
    public:
    Point GetPosition( 
       UIElement^ relativeTo
    ) 

    Parameters

    relativeTo
    System.Windows.UIElement that determines the coordinate system of the return value.

    Return Value

    A System.Windows.Point that contains the mouse coordinates relative to the System.Windows.UIElement specified by the relativeTo parameter.
    See Also