24 references to PreviewMouseDownEvent
PresentationCore (22)
Core\CSharp\System\Windows\Generated\ContentElement.cs (3)
880public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.PreviewMouseDownEvent.AddOwner(_typeofThis); 887add { AddHandler(Mouse.PreviewMouseDownEvent, value, false); } 888remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); }
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
805EventManager.RegisterClassHandler(type, Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseDownThunk), true); 3158public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.PreviewMouseDownEvent.AddOwner(_typeofThis); 3165add { AddHandler(Mouse.PreviewMouseDownEvent, value, false); } 3166remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); }
Core\CSharp\System\Windows\Generated\UIElement3D.cs (3)
586public static readonly RoutedEvent PreviewMouseDownEvent = Mouse.PreviewMouseDownEvent.AddOwner(_typeofThis); 593add { AddHandler(Mouse.PreviewMouseDownEvent, value, false); } 594remove { RemoveHandler(Mouse.PreviewMouseDownEvent, value); }
Core\CSharp\System\Windows\Input\Mouse.cs (2)
134UIElement.AddHandler(element, PreviewMouseDownEvent, handler); 144UIElement.RemoveHandler(element, PreviewMouseDownEvent, handler);
Core\CSharp\System\Windows\Input\MouseDevice.cs (8)
1442if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1884if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 1943if (e.StagingItem.Input.RoutedEvent == Mouse.PreviewMouseDownEvent) 2042previewDown.RoutedEvent=Mouse.PreviewMouseDownEvent; 2060previewDown.RoutedEvent=Mouse.PreviewMouseDownEvent; 2078previewDown.RoutedEvent=Mouse.PreviewMouseDownEvent; 2096previewDown.RoutedEvent=Mouse.PreviewMouseDownEvent; 2114previewDown.RoutedEvent=Mouse.PreviewMouseDownEvent;
Core\CSharp\System\Windows\UIElement.cs (2)
2224if(e.RoutedEvent == Mouse.PreviewMouseDownEvent) 2234if(e.RoutedEvent == Mouse.PreviewMouseDownEvent)
PresentationFramework (2)
src\Framework\System\Windows\Controls\ComboBox.cs (1)
62EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(OnPreviewMouseButtonDown));
src\Framework\System\Windows\Controls\StickyNote.cs (1)
123EventManager.RegisterClassHandler(owner, Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(_OnPreviewDeviceDown<MouseButtonEventArgs>));