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