WPF:

http://msdn.microsoft.com/en-us/library/System.Windows.UIElement.aspx

  1. DragEnter
  2. DragLeave
  3. DragOver
  4. Drop
  5. FocusableChanged
  6. GiveFeedback
  7. GotFocus
  8. GotKeyboardFocus
  9. GotMouseCapture
  10. GotStylusCapture
  11. GotTouchCapture
  12. IsEnabledChanged
  13. IsHitTestVisibleChanged
  14. IsKeyboardFocusedChanged
  15. IsKeyboardFocusWithinChanged
  16. IsMouseCapturedChanged
  17. IsMouseCaptureWithinChanged
  18. IsMouseDirectlyOverChanged
  19. IsStylusCapturedChanged
  20. IsStylusCaptureWithinChanged
  21. IsStylusDirectlyOverChanged
  22. IsVisibleChanged
  23. KeyDown
  24. KeyUp
  25. LayoutUpdated
  26. LostFocus
  27. LostKeyboardFocus
  28. LostMouseCapture
  29. LostStylusCapture
  30. LostTouchCapture
  31. ManipulationBoundaryFeedback
  32. ManipulationCompleted
  33. ManipulationDelta
  34. ManipulationInertiaStarting
  35. ManipulationStarted
  36. ManipulationStarting
  37. MouseDown
  38. MouseEnter
  39. MouseLeave
  40. MouseLeftButtonDown
  41. MouseLeftButtonUp
  42. MouseMove
  43. MouseRightButtonDown
  44. MouseRightButtonUp
  45. MouseUp
  46. MouseWheel
  47. PreviewDragEnter
  48. PreviewDragLeave
  49. PreviewDragOver
  50. PreviewDrop
  51. PreviewGiveFeedback
  52. PreviewGotKeyboardFocus
  53. PreviewKeyDown
  54. PreviewKeyUp
  55. PreviewLostKeyboardFocus
  56. PreviewMouseDown
  57. PreviewMouseLeftButtonDown
  58. PreviewMouseLeftButtonUp
  59. PreviewMouseMove
  60. PreviewMouseRightButtonDown
  61. PreviewMouseRightButtonUp
  62. PreviewMouseUp Occurs
  63. PreviewMouseWheel
  64. PreviewQueryContinueDrag
  65. PreviewStylusButtonDown
  66. PreviewStylusButtonUp
  67. PreviewStylusDown
  68. PreviewStylusInAirMove
  69. PreviewStylusInRange
  70. PreviewStylusMove
  71. PreviewStylusOutOfRange
  72. PreviewStylusSystemGesture
  73. PreviewStylusUp
  74. PreviewTextInput
  75. PreviewTouchDown
  76. PreviewTouchMove
  77. PreviewTouchUp
  78. QueryContinueDrag
  79. QueryCursor
  80. StylusButtonDown
  81. StylusButtonUp
  82. StylusDown
  83. StylusEnter
  84. StylusInAirMove
  85. StylusInRange
  86. StylusLeave
  87. StylusMove
  88. StylusOutOfRange
  89. StylusSystemGesture
  90. StylusUp
  91. TextInput
  92. TouchDown
  93. TouchEnter
  94. TouchLeave
  95. TouchMove
  96. TouchUp

Sliverlight:

http://msdn.microsoft.com/en-us/library/System.Windows.UIElement%28v=vs.95%29.aspx

  1. DoubleTap
  2. DragEnter
  3. DragLeave
  4. DragOver
  5. Drop
  6. GotFocus
  7. Hold
  8. KeyDown
  9. KeyUp
  10. LostFocus
  11. LostMouseCapture
  12. ManipulationCompleted
  13. ManipulationDelta
  14. ManipulationStarted
  15. MediaCommand
  16. MouseEnter
  17. MouseLeave
  18. MouseLeftButtonDown
  19. MouseLeftButtonUp
  20. MouseMove
  21. MouseRightButtonDown
  22. MouseRightButtonUp
  23. MouseWheel
  24. Tap
  25. TextInput
  26. TextInputStart
  27. TextInputUpdate

因为整理了一段时间,存下来,两者不同:

WPF多了Preview+Stylus+Is开头的事件。

WPF和Sliverlight不同之UIElement-事件的更多相关文章

  1. WPF学习(6)路由事件

    做过.net开发的朋友对于事件应该都不陌生.追溯历史,事件(Event)首先应用在Com和VB上,它是对在MFC中使用的烦琐的消息机制的一个封装,然后.net又继承了这种事件驱动机制,这种事件也叫.n ...

  2. WPF之路-键盘与鼠标事件 - 简书

    原文:WPF之路-键盘与鼠标事件 - 简书 键盘事件 事件类型分为以下几个类型 生命周期事件:在元素加载与卸载的时候发生 鼠标事件:鼠标动作 键盘事件:键盘动作 手写笔事件:适用于win7以上的系统 ...

  3. WPF使用MVVM(三)-事件转命令

    WPF使用MVVM(三)-事件转命令 上一节介绍了WPF中的命令,可是仅仅介绍的是WPF框架给我们提供的点击命令,也就是用Command属性来绑定一个命令,用来响应按钮的点击行为!显然这是不够的,界面 ...

  4. Prism for WPF再探(基于Prism事件的模块间通信)

    上篇博文链接 Prism for WPF初探(构建简单的模块化开发框架) 一.简单介绍: 在上一篇博文中初步搭建了Prism框架的各个模块,但那只是搭建了一个空壳,里面的内容基本是空的,在这一篇我将实 ...

  5. WPF UserControl响应窗体的PreviewKeyDown事件

    目的 在UserControl页面实现通过快捷键打开新建窗口 实现过程 监听Window窗体的PreviewKeyDown 其实,使用KeyDown事件也是可以的 页面代码 <Window x: ...

  6. 【转】【WPF】WPF中的Button的MouseDown事件不触发问题

    按照WPF的帮助说明,某些控件的路由事件被内部处理了,已经被标记为Handled,自行定义的事件处理代码便不再起作用了,有时候会很郁闷! 不过WPF提供了必要的方法. 1)使用相应的Preview事件 ...

  7. wpf(Application 如何创建一个事件,及其Application相关的属性)

    1.如何关闭wpf程序.应用程序的关闭只有调用其shutdown方法才可以.shutdown有三种属性.OnLastWindowClose,OnMainWindowClose,OnExplicitSh ...

  8. WPF知识点全攻略10- 路由事件

    路由事件是WPF不得不提,不得不会系列又一 先来看一下他的定义: 功能定义:路由事件是一种可以针对元素树中的多个侦听器(而不是仅针对引发该事件的对象)调用处理程序的事件. 实现定义:路由事件是一个 C ...

  9. .NET Core 3 WPF MVVM框架 Prism系列之事件聚合器

    本文将介绍如何在.NET Core3环境下使用MVVM框架Prism的使用事件聚合器实现模块间的通信 一.事件聚合器  在上一篇 .NET Core 3 WPF MVVM框架 Prism系列之模块化 ...

随机推荐

  1. eclipse 设置 @author @version等注释模板

    eclipse->window->preference->java->code styple->code template->Code->New Java f ...

  2. [Android Tips] 27. 检查 APK 是否可调试

    使用 Android SDK 提供的 aapt 检查 APK 文件 $ aapt d badging ${APK_FILE} | grep 'application-debuggable' 检查自身 ...

  3. 01.Elasticsearch安装

    1.下载运行Elasticsearch 1.下载解压elasticsearch Elasticsearch官网地址:https://www.elastic.co/ Elasticsearch最新版下载 ...

  4. POJ 2374 Fence Obstacle Course(线段树+动态规划)

    Fence Obstacle Course Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 2524   Accepted:  ...

  5. POJ 3233 Matrix Power Series(矩阵快速幂)

    Matrix Power Series Time Limit: 3000MS Memory Limit: 131072K Total Submissions: 19338 Accepted: 8161 ...

  6. CEF3 HTML5 audio标签为什么不能播放mp3格式的音频文件

    CEF3 HTML5 audio标签 为什么不能播放mp3格式的音频文件   原因略.   解决方法: 找一个最新版的chrome ,我用的是24版本.路径 C:\Documents and Sett ...

  7. 20165330 2017-2018-2 《Java程序设计》第3周学习总结

    课本知识总结 第四章 类与对象 类:包括类声明和类体 基本格式: class 类名 { 类体的内容 } 类声明: class+类名(注意:类名首字母需大写) 类体:类声明之后的一对"{&qu ...

  8. Zipline Data Bundles

    Data Bundles A data bundle is a collection of pricing data, adjustment data, and an asset database. ...

  9. pymsql与ORM--python操作MySQL之利器

    pymsql 原生模块 pymsql是python中操作MySQL的模块,其使用方法和MySQLdb几乎相同. 下载安装 pip3 install pymysql 使用操作 1.执行SQL impor ...

  10. 【opencv】cv::Mat_ 对单个元素赋值

    创建一个cv::Mat_并赋值 cv::Mat_<,); mat(,)=VIRTUAL_FOCAL; mat(,)=; mat(,)=roiSize_x/; mat(,)=; mat(,)=VI ...