Intersoft ClientUI Documentation
GetPosition Method (MouseEventArgs)



Returns the position of the mouse pointer relative to the specified element.
Syntax
Public Overridable Function GetPosition( _
   ByVal relativeTo As UIElement _
) As Point
Dim instance As MouseEventArgs
Dim relativeTo As UIElement
Dim value As Point
 
value = instance.GetPosition(relativeTo)
public virtual Point GetPosition( 
   UIElement relativeTo
)
public:
virtual Point GetPosition( 
   UIElement^ relativeTo
) 

Parameters

relativeTo
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MouseEventArgs Class
MouseEventArgs Members

Send Feedback