45 references to ChangedButton
Microsoft.VisualStudio.LanguageServices (2)
PickMembers\PickMembersDialog.xaml.cs (1)
131if (e.ChangedButton == MouseButton.Left)
ValueTracking\ValueTrackingTree.xaml.cs (1)
69if (e.ChangedButton != MouseButton.Left)
PresentationCore (14)
MS\Internal\SynchronizedInputHelper.cs (2)
194switch (mbArgs.ChangedButton) 244switch (mbArgs.ChangedButton)
System\Windows\Input\Command\MouseGesture.cs (1)
191switch(args.ChangedButton)
System\Windows\Input\MouseDevice.cs (6)
1328MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.StagingItem)); 1344MouseButtonEventArgs clickThrough = new MouseButtonEventArgs(this, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton, GetStylusDevice(e.StagingItem)); 1789_clickCount = CalculateClickCount(mouseButtonArgs.ChangedButton, mouseButtonArgs.Timestamp, stylusDevice, ptClient); 1794_lastButton = mouseButtonArgs.ChangedButton; 1841MouseButtonEventArgs down = new MouseButtonEventArgs(this, previewDown.Timestamp, previewDown.ChangedButton, GetStylusDevice(e.StagingItem)); 1854MouseButtonEventArgs up = new MouseButtonEventArgs(this, previewUp.Timestamp, previewUp.ChangedButton, GetStylusDevice(e.StagingItem));
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
571if (mouseButtonEventArgs.ChangedButton != MouseButton.Left) 578if (mouseButtonEventArgs.ChangedButton != MouseButton.Left)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1872if (mouseButtonEventArgs.ChangedButton != MouseButton.Left) 1879if (mouseButtonEventArgs.ChangedButton != MouseButton.Left)
System\Windows\UIElement.cs (1)
2193switch(e.ChangedButton)
PresentationFramework (22)
MS\Internal\Ink\EditingCoordinator.cs (2)
709if ( mouseButtonEventArgs.ChangedButton != MouseButton.Left ) 878if ( mouseButtonEventArgs.ChangedButton != MouseButton.Left )
System\Windows\Controls\Control.cs (1)
570MouseButtonEventArgs doubleClick = new MouseButtonEventArgs(e.MouseDevice, e.Timestamp, e.ChangedButton, e.StylusDevice);
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
203(mouseArgs.ChangedButton == MouseButton.Left) &&
System\Windows\Controls\ListBox.cs (1)
574if (e.ChangedButton == MouseButton.Left)
System\Windows\Controls\Menu.cs (2)
273if (e.ChangedButton != MouseButton.Left && e.ChangedButton != MouseButton.Right)
System\Windows\Controls\MenuItem.cs (5)
1489if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.Right && InsideContextMenu)) 1511if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.Right && InsideContextMenu)) 1543if (e.ChangedButton != MouseButton.Right || InsideContextMenu)
System\Windows\Controls\PopupControlService.cs (1)
207if ((e.ChangedButton == MouseButton.Right) &&
System\Windows\Controls\Primitives\MenuBase.cs (5)
163if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.Right) 172if (e.ChangedButton == MouseButton.Left && IgnoreNextLeftRelease) 177else if (e.ChangedButton == MouseButton.Right && IgnoreNextRightRelease) 195if (e.ChangedButton == MouseButton.Left)
System\Windows\Controls\Slider.cs (1)
1314if(e.ChangedButton != MouseButton.Left) return;
System\windows\Documents\TextEditorMouse.cs (3)
208if (e.ChangedButton != MouseButton.Left) 269SetCaretPositionOnMouseEvent(This, mouseDownPoint, e.ChangedButton, e.ClickCount); 319if (e.ChangedButton != MouseButton.Left)
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1857e.ChangedButton != MouseButton.Right &&
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (4)
312if (e.ClickCount == 1 || e.ChangedButton == MouseButton.Right ) 327else if( e.ClickCount == 2 && e.ChangedButton == MouseButton.Left) 373if (e.ChangedButton == MouseButton.Left && this.Ribbon != null) 379else if (e.ChangedButton == MouseButton.Right)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1135if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.Right)