Gets the mouse coordinates relative to a given UIElement.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public Point GetPosition( UIElement relativeTo ) |
Visual Basic |
---|
Public Function GetPosition ( _ relativeTo As UIElement _ ) As Point |
Parameters
- relativeTo
- Type: System.Windows..::..UIElement
UIElement that determines the coordinate system of the return value.