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