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