27 references to Right
PresentationCore (12)
MS\Internal\SynchronizedInputHelper.cs (2)
199
case MouseButton.
Right
:
249
case MouseButton.
Right
:
System\Windows\Input\Command\MouseGesture.cs (1)
199
case MouseButton.
Right
:
System\Windows\Input\MouseButton.cs (1)
71
case MouseButton.
Right
:
System\Windows\Input\MouseButtonEventArgs.cs (1)
83
case MouseButton.
Right
:
System\Windows\Input\MouseDevice.cs (3)
504
return GetButtonState(MouseButton.
Right
);
1941
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.
Right
, GetStylusDevice(e.StagingItem));
1950
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.
Right
, GetStylusDevice(e.StagingItem));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2002
_mouseRightButtonState = mouseDevice.GetButtonStateFromSystem(MouseButton.
Right
);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1240
if (mouseButton == MouseButton.
Right
)
System\Windows\Input\Win32MouseDevice.cs (1)
48
case MouseButton.
Right
:
System\Windows\UIElement.cs (1)
2200
case MouseButton.
Right
:
PresentationFramework (11)
System\Windows\Controls\ListBox.cs (1)
746
else if (mouseButton == MouseButton.
Right
) // Right mouse button
System\Windows\Controls\ListBoxItem.cs (1)
266
HandleMouseButtonDown(MouseButton.
Right
);
System\Windows\Controls\Menu.cs (1)
263
if (e.ChangedButton != MouseButton.Left && e.ChangedButton != MouseButton.
Right
)
System\Windows\Controls\MenuItem.cs (3)
1479
if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.
Right
&& InsideContextMenu))
1501
if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.
Right
&& InsideContextMenu))
1533
if (e.ChangedButton != MouseButton.
Right
|| InsideContextMenu)
System\Windows\Controls\PopupControlService.cs (1)
197
if ((e.ChangedButton == MouseButton.
Right
) &&
System\Windows\Controls\Primitives\MenuBase.cs (2)
154
if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.
Right
)
168
else if (e.ChangedButton == MouseButton.
Right
&& IgnoreNextRightRelease)
System\windows\Documents\TextEditorContextMenu.cs (1)
121
TextEditorMouse.SetCaretPositionOnMouseEvent(This, renderScopeMouseDownPoint, MouseButton.
Right
, 1 /* clickCount */);
System\windows\Documents\TextEditorMouse.cs (1)
91
if (changedButton == MouseButton.
Right
|| clickCount == 1)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1854
e.ChangedButton != MouseButton.
Right
&&
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (2)
310
if (e.ClickCount == 1 || e.ChangedButton == MouseButton.
Right
)
377
else if (e.ChangedButton == MouseButton.
Right
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1130
if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.
Right
)