21 references to MouseDevice
PresentationCore (13)
System\Windows\Input\MouseButtonEventArgs.cs (5)
80state = this.MouseDevice.LeftButton; 84state = this.MouseDevice.RightButton; 88state = this.MouseDevice.MiddleButton; 92state = this.MouseDevice.XButton1; 96state = this.MouseDevice.XButton2;
System\Windows\Input\MouseEventArgs.cs (6)
69return this.MouseDevice.GetPosition(relativeTo); 79return this.MouseDevice.LeftButton; 90return this.MouseDevice.RightButton; 101return this.MouseDevice.MiddleButton; 112return this.MouseDevice.XButton1; 123return this.MouseDevice.XButton2;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
540mouseDevice = mouseEventArgs.MouseDevice;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1844mouseDevice = mouseEventArgs.MouseDevice;
PresentationFramework (8)
System\Windows\Controls\Control.cs (1)
561MouseButtonEventArgs doubleClick = new MouseButtonEventArgs(e.MouseDevice, e.Timestamp, e.ChangedButton, e.StylusDevice);
System\Windows\Controls\Primitives\ScrollBar.cs (3)
142Point pt = e.MouseDevice.GetPosition((IInputElement)Track); 151Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)Track.Thumb); 172_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)Track);
System\Windows\Controls\Primitives\Thumb.cs (3)
261Point pt = SafeSecurityHelper.ClientToScreen(this, e.MouseDevice.GetPosition(this)); 288if (e.MouseDevice.LeftButton == MouseButtonState.Pressed) 305if (e.MouseDevice.Captured == this)
System\Windows\Controls\Slider.cs (1)
766Point pt = e.MouseDevice.GetPosition(Track);