27 references to Right
PresentationCore (12)
MS\Internal\SynchronizedInputHelper.cs (2)
203
case MouseButton.
Right
:
253
case MouseButton.
Right
:
System\Windows\Input\Command\MouseGesture.cs (1)
202
case MouseButton.
Right
:
System\Windows\Input\MouseButton.cs (1)
74
case MouseButton.
Right
:
System\Windows\Input\MouseButtonEventArgs.cs (1)
86
case MouseButton.
Right
:
System\Windows\Input\MouseDevice.cs (3)
513
return GetButtonState(MouseButton.
Right
);
1950
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.
Right
, GetStylusDevice(e.StagingItem));
1959
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.
Right
, GetStylusDevice(e.StagingItem));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2011
_mouseRightButtonState = mouseDevice.GetButtonStateFromSystem(MouseButton.
Right
);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1243
if (mouseButton == MouseButton.
Right
)
System\Windows\Input\Win32MouseDevice.cs (1)
61
case MouseButton.
Right
:
System\Windows\UIElement.cs (1)
2205
case MouseButton.
Right
:
PresentationFramework (11)
System\Windows\Controls\ListBox.cs (1)
752
else if (mouseButton == MouseButton.
Right
) // Right mouse button
System\Windows\Controls\ListBoxItem.cs (1)
273
HandleMouseButtonDown(MouseButton.
Right
);
System\Windows\Controls\Menu.cs (1)
273
if (e.ChangedButton != MouseButton.Left && e.ChangedButton != MouseButton.
Right
)
System\Windows\Controls\MenuItem.cs (3)
1489
if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.
Right
&& InsideContextMenu))
1511
if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.
Right
&& InsideContextMenu))
1543
if (e.ChangedButton != MouseButton.
Right
|| InsideContextMenu)
System\Windows\Controls\PopupControlService.cs (1)
207
if ((e.ChangedButton == MouseButton.
Right
) &&
System\Windows\Controls\Primitives\MenuBase.cs (2)
163
if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.
Right
)
177
else if (e.ChangedButton == MouseButton.
Right
&& IgnoreNextRightRelease)
System\windows\Documents\TextEditorContextMenu.cs (1)
123
TextEditorMouse.SetCaretPositionOnMouseEvent(This, renderScopeMouseDownPoint, MouseButton.
Right
, 1 /* clickCount */);
System\windows\Documents\TextEditorMouse.cs (1)
105
if (changedButton == MouseButton.
Right
|| clickCount == 1)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1857
e.ChangedButton != MouseButton.
Right
&&
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (2)
312
if (e.ClickCount == 1 || e.ChangedButton == MouseButton.
Right
)
379
else if (e.ChangedButton == MouseButton.
Right
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1135
if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.
Right
)