42 references to ChangedButton
PresentationCore (10)
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (2)
190
switch (mbArgs.
ChangedButton
)
240
switch (mbArgs.
ChangedButton
)
Core\CSharp\System\Windows\Input\Command\MouseGesture.cs (1)
194
switch(args.
ChangedButton
)
Core\CSharp\System\Windows\Input\MouseDevice.cs (6)
1451
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.
ChangedButton
, GetStylusDevice(e.StagingItem));
1467
MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.
ChangedButton
, GetStylusDevice(e.StagingItem));
1890
_clickCount = CalculateClickCount(mouseButtonArgs.
ChangedButton
, mouseButtonArgs.Timestamp, stylusDevice, ptClient);
1895
_lastButton = mouseButtonArgs.
ChangedButton
;
1948
MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.
ChangedButton
, GetStylusDevice(e.StagingItem));
1961
MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.
ChangedButton
, GetStylusDevice(e.StagingItem));
Core\CSharp\System\Windows\UIElement.cs (1)
2221
switch(e.
ChangedButton
)
PresentationFramework (22)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (2)
734
if ( mouseButtonEventArgs.
ChangedButton
!= MouseButton.Left )
916
if ( mouseButtonEventArgs.
ChangedButton
!= MouseButton.Left )
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\DataGridCheckBoxColumn.cs (1)
195
(mouseArgs.
ChangedButton
== MouseButton.Left) &&
src\Framework\System\Windows\Controls\ListBox.cs (1)
529
if (e.
ChangedButton
== MouseButton.Left)
src\Framework\System\Windows\Controls\Menu.cs (2)
294
if (e.
ChangedButton
!= MouseButton.Left && e.
ChangedButton
!= MouseButton.Right)
src\Framework\System\Windows\Controls\MenuItem.cs (5)
1519
if (e.
ChangedButton
== MouseButton.Left || (e.
ChangedButton
== MouseButton.Right && InsideContextMenu))
1547
if (e.
ChangedButton
== MouseButton.Left || (e.
ChangedButton
== MouseButton.Right && InsideContextMenu))
1579
if (e.
ChangedButton
!= MouseButton.Right || InsideContextMenu)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
187
if ((e.
ChangedButton
== MouseButton.Right) &&
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (5)
165
if (e.
ChangedButton
== MouseButton.Left || e.
ChangedButton
== MouseButton.Right)
174
if (e.
ChangedButton
== MouseButton.Left && IgnoreNextLeftRelease)
179
else if (e.
ChangedButton
== MouseButton.Right && IgnoreNextRightRelease)
197
if (e.
ChangedButton
== MouseButton.Left)
src\Framework\System\Windows\Controls\Slider.cs (1)
1239
if(e.
ChangedButton
!= MouseButton.Left) return;
src\Framework\System\windows\Documents\TextEditorMouse.cs (3)
210
if (e.
ChangedButton
!= MouseButton.Left)
271
SetCaretPositionOnMouseEvent(This, mouseDownPoint, e.
ChangedButton
, e.ClickCount);
321
if (e.
ChangedButton
!= MouseButton.Left)
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
158
if (e.
ChangedButton
== MouseButton.Right && e.RightButton == MouseButtonState.Released)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1440
if (e.
ChangedButton
== MouseButton.Left)
System\Activities\Core\Presentation\StateMachineConnetionPointsAdorner.cs (3)
45
if (e.
ChangedButton
== MouseButton.Right)
54
if (e.
ChangedButton
== MouseButton.Right)
69
MouseButtonEventArgs args = new MouseButtonEventArgs(e.MouseDevice, e.Timestamp, e.
ChangedButton
);
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (4)
128
if (e.
ChangedButton
== MouseButton.Middle)
135
switch (e.
ChangedButton
)
248
this.draggingMouseButton = e.
ChangedButton
;
259
if (e.
ChangedButton
== this.draggingMouseButton && object.Equals(this.scrollViewer, Mouse.Captured))
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
296
if (((System.Windows.Input.MouseButtonEventArgs)(args)).
ChangedButton
== MouseButton.Left)