Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1InputEventArgs Class / GetPosition Method / GetPosition(MouseEventArgs,ComponentBase) Method
The OriginalEventArgs instance containing the manipulation data.
Any visual object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.

In This Topic
    GetPosition(MouseEventArgs,ComponentBase) Method
    In This Topic
    Gets the position of the pointer or finger.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetPosition( _
       ByVal args As MouseEventArgs, _
       ByVal relativeTo As ComponentBase _
    ) As C1Point
    public static C1Point GetPosition( 
       MouseEventArgs args,
       ComponentBase relativeTo
    )

    Parameters

    args
    The OriginalEventArgs instance containing the manipulation data.
    relativeTo
    Any visual object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.
    See Also