29 references to PreviewMouseDownEvent
PresentationCore (26)
System\Windows\Generated\ContentElement.cs (3)
816
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
823
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
824
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
736
EventManager.RegisterClassHandler(type, Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(UIElement.OnPreviewMouseDownThunk), true);
2769
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
2776
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
2777
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
535
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
542
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
543
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Input\Mouse.cs (2)
129
UIElement.AddHandler(element,
PreviewMouseDownEvent
, handler);
139
UIElement.RemoveHandler(element,
PreviewMouseDownEvent
, handler);
System\Windows\Input\MouseDevice.cs (8)
1310
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1774
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1827
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1925
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1943
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1961
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1979
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1997
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
493
if ((e.StagingItem.Input.RoutedEvent != Mouse.
PreviewMouseDownEvent
) &&
556
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1797
if ((e.StagingItem.Input.RoutedEvent != Mouse.
PreviewMouseDownEvent
) &&
1860
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
System\Windows\UIElement.cs (2)
2191
if(e.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
2201
if(e.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (1)
51
EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(OnPreviewMouseButtonDown));
System\Windows\Controls\StickyNote.cs (1)
97
EventManager.RegisterClassHandler(owner, Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(_OnPreviewDeviceDown<MouseButtonEventArgs>));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
696
else if (routedEvent == Mouse.
PreviewMouseDownEvent
||