29 references to PreviewMouseDownEvent
PresentationCore (26)
System\Windows\Generated\ContentElement.cs (3)
804
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
811
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
812
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
724
EventManager.RegisterClassHandler(type, Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(UIElement.OnPreviewMouseDownThunk), true);
2757
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
2764
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
2765
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
534
public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.
PreviewMouseDownEvent
.AddOwner(_typeofThis);
541
add { AddHandler(Mouse.
PreviewMouseDownEvent
, value, false); }
542
remove { RemoveHandler(Mouse.
PreviewMouseDownEvent
, value); }
System\Windows\Input\Mouse.cs (2)
128
UIElement.AddHandler(element,
PreviewMouseDownEvent
, handler);
138
UIElement.RemoveHandler(element,
PreviewMouseDownEvent
, handler);
System\Windows\Input\MouseDevice.cs (8)
1318
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1785
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1840
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
1945
RoutedEvent = Mouse.
PreviewMouseDownEvent
1965
RoutedEvent = Mouse.
PreviewMouseDownEvent
1985
RoutedEvent = Mouse.
PreviewMouseDownEvent
2005
RoutedEvent = Mouse.
PreviewMouseDownEvent
2025
RoutedEvent = Mouse.
PreviewMouseDownEvent
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
492
if ((e.StagingItem.Input.RoutedEvent != Mouse.
PreviewMouseDownEvent
) &&
555
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1809
if ((e.StagingItem.Input.RoutedEvent != Mouse.
PreviewMouseDownEvent
) &&
1872
if (e.StagingItem.Input.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
System\Windows\UIElement.cs (2)
2182
if(e.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
2192
if(e.RoutedEvent == Mouse.
PreviewMouseDownEvent
)
PresentationFramework (2)
System\Windows\Controls\ComboBox.cs (1)
50
EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(OnPreviewMouseButtonDown));
System\Windows\Controls\StickyNote.cs (1)
85
EventManager.RegisterClassHandler(owner, Mouse.
PreviewMouseDownEvent
, new MouseButtonEventHandler(_OnPreviewDeviceDown<MouseButtonEventArgs>));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
692
else if (routedEvent == Mouse.
PreviewMouseDownEvent
||