27 references to Right
PresentationCore (12)
MS\Internal\SynchronizedInputHelper.cs (2)
196
case MouseButton.
Right
:
246
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)
499
return GetButtonState(MouseButton.
Right
);
1964
MouseButtonEventArgs previewDown = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.
Right
, GetStylusDevice(e.StagingItem))
1974
MouseButtonEventArgs previewUp = new MouseButtonEventArgs(this, rawMouseInputReport.Timestamp, MouseButton.
Right
, GetStylusDevice(e.StagingItem))
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2015
_mouseRightButtonState = mouseDevice.GetButtonStateFromSystem(MouseButton.
Right
);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1243
if (mouseButton == MouseButton.
Right
)
System\Windows\Input\Win32MouseDevice.cs (1)
48
case MouseButton.
Right
:
System\Windows\UIElement.cs (1)
2192
case MouseButton.
Right
:
PresentationFramework (11)
System\Windows\Controls\ListBox.cs (1)
747
else if (mouseButton == MouseButton.
Right
) // Right mouse button
System\Windows\Controls\ListBoxItem.cs (1)
263
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)
1475
if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.
Right
&& InsideContextMenu))
1497
if (e.ChangedButton == MouseButton.Left || (e.ChangedButton == MouseButton.
Right
&& InsideContextMenu))
1529
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)
1829
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)
1128
if (e.ChangedButton == MouseButton.Left || e.ChangedButton == MouseButton.
Right
)