72 references to Pressed
PresentationCore (1)
Core\CSharp\System\Windows\Input\Win32MouseDevice.cs (1)
85
mouseButtonState = ( UnsafeNativeMethods.GetKeyState(virtualKeyCode) & 0x8000 ) != 0 ? MouseButtonState.
Pressed
: MouseButtonState.Released;
PresentationFramework (39)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (2)
448
bool mouseDown = (_inkCanvas.IsMouseOver && Mouse.PrimaryDevice.LeftButton == MouseButtonState.
Pressed
);
473
else if ( _capturedMouse != null && _capturedMouse.LeftButton == MouseButtonState.
Pressed
)
src\Framework\MS\Internal\Ink\SelectionEditor.cs (1)
173
if ( (args.StylusDevice == null && args.LeftButton != MouseButtonState.
Pressed
) )
src\Framework\System\Windows\Controls\ComboBox.cs (3)
1814
if (Mouse.LeftButton == MouseButtonState.
Pressed
&& comboBox.HasMouseEnteredItemsHost)
1818
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
1882
if (Mouse.LeftButton == MouseButtonState.
Pressed
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
532
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
536
if (Mouse.RightButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\DataGrid.cs (2)
1746
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
6257
if (e.LeftButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
196
(mouseArgs.ButtonState == MouseButtonState.
Pressed
);
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (2)
224
if (ClickMode == ClickMode.Hover && e.ButtonState == MouseButtonState.
Pressed
)
240
(IsMouseCaptured && (Mouse.PrimaryDevice.LeftButton == MouseButtonState.
Pressed
)))
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
454
if (e.LeftButton == MouseButtonState.
Pressed
)
506
if (e.LeftButton == MouseButtonState.
Pressed
&& _isHeaderDragging)
src\Framework\System\Windows\Controls\ListBox.cs (2)
512
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
925
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
307
if (parent != null && Mouse.LeftButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\MenuItem.cs (1)
862
if ((Mouse.LeftButton == MouseButtonState.
Pressed
) &&
src\Framework\System\Windows\Controls\PopupControlService.cs (2)
68
if ((Mouse.LeftButton == MouseButtonState.
Pressed
) ||
69
(Mouse.RightButton == MouseButtonState.
Pressed
))
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (4)
131
if (IsMouseCaptured && (Mouse.PrimaryDevice.LeftButton == MouseButtonState.
Pressed
) && !IsSpaceKeyDown)
427
if (e.ButtonState == MouseButtonState.
Pressed
)
436
if (e.ButtonState == MouseButtonState.
Pressed
)
508
((IsMouseCaptured && (Mouse.PrimaryDevice.LeftButton == MouseButtonState.
Pressed
) && !IsSpaceKeyDown)))
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
769
if (e.LeftButton == MouseButtonState.
Pressed
&& this._isDayPressed)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
970
if (ClickMode == ClickMode.Hover && e.ButtonState == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
540
if (e.LeftButton == MouseButtonState.
Pressed
)
605
Mouse.LeftButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
299
if (e.MouseDevice.LeftButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
9273
if ((Mouse.LeftButton == MouseButtonState.
Pressed
) &&
src\Framework\System\Windows\Documents\Hyperlink.cs (2)
1059
if (e.ButtonState == MouseButtonState.
Pressed
)
1071
if (e.ButtonState == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
1807
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
1811
if (Mouse.RightButton == MouseButtonState.
Pressed
)
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
475
if (e.LeftButton != MouseButtonState.
Pressed
)
src\Framework\System\Windows\Documents\TextStore.cs (2)
2895
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
2899
if (Mouse.RightButton == MouseButtonState.
Pressed
)
src\Framework\System\Windows\Window.cs (1)
302
if (Mouse.LeftButton == MouseButtonState.
Pressed
)
System.Activities.Core.Presentation (18)
System\Activities\Core\Presentation\CaseDesigner.xaml.cs (3)
101
if (e.LeftButton == MouseButtonState.
Pressed
&& e.ClickCount == 2)
106
else if (e.LeftButton == MouseButtonState.
Pressed
)
112
else if (e.RightButton == MouseButtonState.
Pressed
)
System\Activities\Core\Presentation\CatchDesigner.xaml.cs (3)
90
if (e.LeftButton == MouseButtonState.
Pressed
&& e.ClickCount == 2)
95
else if (e.LeftButton == MouseButtonState.
Pressed
)
101
else if (e.RightButton == MouseButtonState.
Pressed
)
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (1)
80
if (args.LeftButton == MouseButtonState.
Pressed
&& this.IsMouseCaptured)
System\Activities\Core\Presentation\StateContainerResizeGrip.cs (1)
128
if (args.LeftButton == MouseButtonState.
Pressed
&& this.IsMouseCaptured && this.scope != null)
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (3)
313
if (e.LeftButton == MouseButtonState.
Pressed
&& e.ClickCount == 2)
318
else if (e.LeftButton == MouseButtonState.
Pressed
)
323
else if (e.RightButton == MouseButtonState.
Pressed
)
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (7)
354
if (e.LeftButton == MouseButtonState.
Pressed
&& e.ClickCount == 2)
359
else if (e.LeftButton == MouseButtonState.
Pressed
)
364
else if (e.RightButton == MouseButtonState.
Pressed
)
391
if (e.LeftButton == MouseButtonState.
Pressed
&& e.ClickCount == 2)
396
else if (e.LeftButton == MouseButtonState.
Pressed
)
401
else if (e.RightButton == MouseButtonState.
Pressed
)
496
if (e.LeftButton == MouseButtonState.
Pressed
)
System.Activities.Presentation (14)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (1)
221
if (e.LeftButton == MouseButtonState.
Pressed
) {
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
494
if (e.LeftButton == MouseButtonState.
Pressed
)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
358
if (args.LeftButton == MouseButtonState.
Pressed
&& TryGetSelectedToolboxItem(out tool, out toolWrapper))
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
379
else if (e.LeftButton == MouseButtonState.
Pressed
)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
104
if (args.LeftButton == MouseButtonState.
Pressed
&& this.IsMouseCaptured)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
55
if (args.LeftButton == MouseButtonState.
Pressed
&& this.IsMouseCaptured)
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
122
if (e.LeftButton == MouseButtonState.
Pressed
&& this.IsReadyForSelecting)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
633
if (e.RightButton == MouseButtonState.
Pressed
)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
518
if (e.RightButton == MouseButtonState.
Pressed
)
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (5)
596
if (e.LeftButton == MouseButtonState.
Pressed
)
615
if (e.LeftButton == MouseButtonState.
Pressed
&& e.ClickCount == 2 && this.Designer.lastClickedDesigner == this)
623
if (e.RightButton == MouseButtonState.
Pressed
)
712
if (e.LeftButton == MouseButtonState.
Pressed
)
749
if (e.LeftButton == MouseButtonState.
Pressed
&&