The `GetPosition` method in the `System.Windows.Input.MouseButtonEventArgs` class in C# is used to retrieve the position of the mouse pointer relative to a specified element. It returns a `System.Windows.Point` object that contains the X and Y coordinates of the mouse pointer's position. This method is commonly used in event handlers for mouse-related events to determine the exact location where the mouse action occurred.
C# (CSharp) System.Windows.Input MouseButtonEventArgs.GetPosition - 60 examples found. These are the top rated real world C# (CSharp) examples of System.Windows.Input.MouseButtonEventArgs.GetPosition extracted from open source projects. You can rate examples to help us improve the quality of examples.