21 references to MouseDevice
PresentationCore (11)
Core\CSharp\System\Windows\Input\MouseButtonEventArgs.cs (5)
78state = this.MouseDevice.LeftButton; 82state = this.MouseDevice.RightButton; 86state = this.MouseDevice.MiddleButton; 90state = this.MouseDevice.XButton1; 94state = this.MouseDevice.XButton2;
Core\CSharp\System\Windows\Input\MouseEventArgs.cs (6)
75return this.MouseDevice.GetPosition(relativeTo); 85return this.MouseDevice.LeftButton; 96return this.MouseDevice.RightButton; 107return this.MouseDevice.MiddleButton; 118return this.MouseDevice.XButton1; 129return this.MouseDevice.XButton2;
PresentationFramework (8)
src\Framework\System\Windows\Controls\Control.cs (1)
571MouseButtonEventArgs doubleClick = new MouseButtonEventArgs(e.MouseDevice, e.Timestamp, e.ChangedButton, e.StylusDevice);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (3)
160Point pt = e.MouseDevice.GetPosition((IInputElement)Track); 169Point thumbPoint = e.MouseDevice.GetPosition((IInputElement)Track.Thumb); 193_latestRightButtonClickPoint = e.MouseDevice.GetPosition((IInputElement)Track);
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (3)
272Point pt = SafeSecurityHelper.ClientToScreen(this, e.MouseDevice.GetPosition(this)); 299if (e.MouseDevice.LeftButton == MouseButtonState.Pressed) 316if (e.MouseDevice.Captured == this)
src\Framework\System\Windows\Controls\Slider.cs (1)
780Point pt = e.MouseDevice.GetPosition(Track);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\StateMachineConnetionPointsAdorner.cs (1)
69MouseButtonEventArgs args = new MouseButtonEventArgs(e.MouseDevice, e.Timestamp, e.ChangedButton);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
556if (connector == null || (connector.StartDot != null && connector.StartDot.IsAncestorOf(e.MouseDevice.DirectlyOver as DependencyObject)))