21 references to MouseDevice
PresentationCore (13)
System\Windows\Input\MouseButtonEventArgs.cs (5)
83state = this.MouseDevice.LeftButton; 87state = this.MouseDevice.RightButton; 91state = this.MouseDevice.MiddleButton; 95state = this.MouseDevice.XButton1; 99state = this.MouseDevice.XButton2;
System\Windows\Input\MouseEventArgs.cs (6)
73return this.MouseDevice.GetPosition(relativeTo); 83return this.MouseDevice.LeftButton; 94return this.MouseDevice.RightButton; 105return this.MouseDevice.MiddleButton; 116return this.MouseDevice.XButton1; 127return this.MouseDevice.XButton2;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
552mouseDevice = mouseEventArgs.MouseDevice;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1853mouseDevice = mouseEventArgs.MouseDevice;
PresentationFramework (8)
System\Windows\Controls\Control.cs (1)
570MouseButtonEventArgs doubleClick = new MouseButtonEventArgs(e.MouseDevice, e.Timestamp, e.ChangedButton, e.StylusDevice);
System\Windows\Controls\Primitives\ScrollBar.cs (3)
158Point pt = e.MouseDevice.GetPosition((IInputElement)Track); 167Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)Track.Thumb); 188_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)Track);
System\Windows\Controls\Primitives\Thumb.cs (3)
275Point pt = SafeSecurityHelper.ClientToScreen(this, e.MouseDevice.GetPosition(this)); 302if (e.MouseDevice.LeftButton == MouseButtonState.Pressed) 319if (e.MouseDevice.Captured == this)
System\Windows\Controls\Slider.cs (1)
777Point pt = e.MouseDevice.GetPosition(Track);