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