29 references to PreviewMouseDownEvent
PresentationCore (26)
System\Windows\Generated\ContentElement.cs (3)
820
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
827
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
828
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
740
EventManager.RegisterClassHandler(type, Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(UIElement.OnPreviewMouseDownThunk), true);
2773
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
2780
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
2781
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
541
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
548
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
549
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Input\Mouse.cs (2)
137
UIElement.AddHandler(element,
PreviewMouseDownEvent
, handler);
147
UIElement.RemoveHandler(element,
PreviewMouseDownEvent
, handler);
System\Windows\Input\MouseDevice.cs (8)
1319
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1783
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1836
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1934
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1952
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1970
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
1988
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
2006
previewDown.RoutedEvent=Mouse.
PreviewMouseDownEvent
;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
505
if ((e.StagingItem.Input.RoutedEvent != Mouse.
PreviewMouseDownEvent
) &&
568
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1806
if ((e.StagingItem.Input.RoutedEvent != Mouse.
PreviewMouseDownEvent
) &&
1869
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
System\Windows\UIElement.cs (2)
2196
if(e.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
2206
if(e.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (1)
61
EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(OnPreviewMouseButtonDown));
System\Windows\Controls\StickyNote.cs (1)
113
EventManager.RegisterClassHandler(owner, Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(_OnPreviewDeviceDown<MouseButtonEventArgs>));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
698
else if (routedEvent == Mouse.
PreviewMouseDownEvent
||