WPF和Sliverlight不同之UIElement-事件
WPF:
http://msdn.microsoft.com/en-us/library/System.Windows.UIElement.aspx
- DragEnter
- DragLeave
- DragOver
- Drop
- FocusableChanged
- GiveFeedback
- GotFocus
- GotKeyboardFocus
- GotMouseCapture
- GotStylusCapture
- GotTouchCapture
- IsEnabledChanged
- IsHitTestVisibleChanged
- IsKeyboardFocusedChanged
- IsKeyboardFocusWithinChanged
- IsMouseCapturedChanged
- IsMouseCaptureWithinChanged
- IsMouseDirectlyOverChanged
- IsStylusCapturedChanged
- IsStylusCaptureWithinChanged
- IsStylusDirectlyOverChanged
- IsVisibleChanged
- KeyDown
- KeyUp
- LayoutUpdated
- LostFocus
- LostKeyboardFocus
- LostMouseCapture
- LostStylusCapture
- LostTouchCapture
- ManipulationBoundaryFeedback
- ManipulationCompleted
- ManipulationDelta
- ManipulationInertiaStarting
- ManipulationStarted
- ManipulationStarting
- MouseDown
- MouseEnter
- MouseLeave
- MouseLeftButtonDown
- MouseLeftButtonUp
- MouseMove
- MouseRightButtonDown
- MouseRightButtonUp
- MouseUp
- MouseWheel
- PreviewDragEnter
- PreviewDragLeave
- PreviewDragOver
- PreviewDrop
- PreviewGiveFeedback
- PreviewGotKeyboardFocus
- PreviewKeyDown
- PreviewKeyUp
- PreviewLostKeyboardFocus
- PreviewMouseDown
- PreviewMouseLeftButtonDown
- PreviewMouseLeftButtonUp
- PreviewMouseMove
- PreviewMouseRightButtonDown
- PreviewMouseRightButtonUp
- PreviewMouseUp Occurs
- PreviewMouseWheel
- PreviewQueryContinueDrag
- PreviewStylusButtonDown
- PreviewStylusButtonUp
- PreviewStylusDown
- PreviewStylusInAirMove
- PreviewStylusInRange
- PreviewStylusMove
- PreviewStylusOutOfRange
- PreviewStylusSystemGesture
- PreviewStylusUp
- PreviewTextInput
- PreviewTouchDown
- PreviewTouchMove
- PreviewTouchUp
- QueryContinueDrag
- QueryCursor
- StylusButtonDown
- StylusButtonUp
- StylusDown
- StylusEnter
- StylusInAirMove
- StylusInRange
- StylusLeave
- StylusMove
- StylusOutOfRange
- StylusSystemGesture
- StylusUp
- TextInput
- TouchDown
- TouchEnter
- TouchLeave
- TouchMove
- TouchUp
Sliverlight:
http://msdn.microsoft.com/en-us/library/System.Windows.UIElement%28v=vs.95%29.aspx
- DoubleTap
- DragEnter
- DragLeave
- DragOver
- Drop
- GotFocus
- Hold
- KeyDown
- KeyUp
- LostFocus
- LostMouseCapture
- ManipulationCompleted
- ManipulationDelta
- ManipulationStarted
- MediaCommand
- MouseEnter
- MouseLeave
- MouseLeftButtonDown
- MouseLeftButtonUp
- MouseMove
- MouseRightButtonDown
- MouseRightButtonUp
- MouseWheel
- Tap
- TextInput
- TextInputStart
- TextInputUpdate
因为整理了一段时间,存下来,两者不同:
WPF多了Preview+Stylus+Is开头的事件。
WPF和Sliverlight不同之UIElement-事件的更多相关文章
- WPF学习(6)路由事件
做过.net开发的朋友对于事件应该都不陌生.追溯历史,事件(Event)首先应用在Com和VB上,它是对在MFC中使用的烦琐的消息机制的一个封装,然后.net又继承了这种事件驱动机制,这种事件也叫.n ...
- WPF之路-键盘与鼠标事件 - 简书
原文:WPF之路-键盘与鼠标事件 - 简书 键盘事件 事件类型分为以下几个类型 生命周期事件:在元素加载与卸载的时候发生 鼠标事件:鼠标动作 键盘事件:键盘动作 手写笔事件:适用于win7以上的系统 ...
- WPF使用MVVM(三)-事件转命令
WPF使用MVVM(三)-事件转命令 上一节介绍了WPF中的命令,可是仅仅介绍的是WPF框架给我们提供的点击命令,也就是用Command属性来绑定一个命令,用来响应按钮的点击行为!显然这是不够的,界面 ...
- Prism for WPF再探(基于Prism事件的模块间通信)
上篇博文链接 Prism for WPF初探(构建简单的模块化开发框架) 一.简单介绍: 在上一篇博文中初步搭建了Prism框架的各个模块,但那只是搭建了一个空壳,里面的内容基本是空的,在这一篇我将实 ...
- WPF UserControl响应窗体的PreviewKeyDown事件
目的 在UserControl页面实现通过快捷键打开新建窗口 实现过程 监听Window窗体的PreviewKeyDown 其实,使用KeyDown事件也是可以的 页面代码 <Window x: ...
- 【转】【WPF】WPF中的Button的MouseDown事件不触发问题
按照WPF的帮助说明,某些控件的路由事件被内部处理了,已经被标记为Handled,自行定义的事件处理代码便不再起作用了,有时候会很郁闷! 不过WPF提供了必要的方法. 1)使用相应的Preview事件 ...
- wpf(Application 如何创建一个事件,及其Application相关的属性)
1.如何关闭wpf程序.应用程序的关闭只有调用其shutdown方法才可以.shutdown有三种属性.OnLastWindowClose,OnMainWindowClose,OnExplicitSh ...
- WPF知识点全攻略10- 路由事件
路由事件是WPF不得不提,不得不会系列又一 先来看一下他的定义: 功能定义:路由事件是一种可以针对元素树中的多个侦听器(而不是仅针对引发该事件的对象)调用处理程序的事件. 实现定义:路由事件是一个 C ...
- .NET Core 3 WPF MVVM框架 Prism系列之事件聚合器
本文将介绍如何在.NET Core3环境下使用MVVM框架Prism的使用事件聚合器实现模块间的通信 一.事件聚合器 在上一篇 .NET Core 3 WPF MVVM框架 Prism系列之模块化 ...
随机推荐
- eclipse 设置 @author @version等注释模板
eclipse->window->preference->java->code styple->code template->Code->New Java f ...
- [Android Tips] 27. 检查 APK 是否可调试
使用 Android SDK 提供的 aapt 检查 APK 文件 $ aapt d badging ${APK_FILE} | grep 'application-debuggable' 检查自身 ...
- 01.Elasticsearch安装
1.下载运行Elasticsearch 1.下载解压elasticsearch Elasticsearch官网地址:https://www.elastic.co/ Elasticsearch最新版下载 ...
- POJ 2374 Fence Obstacle Course(线段树+动态规划)
Fence Obstacle Course Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 2524 Accepted: ...
- POJ 3233 Matrix Power Series(矩阵快速幂)
Matrix Power Series Time Limit: 3000MS Memory Limit: 131072K Total Submissions: 19338 Accepted: 8161 ...
- CEF3 HTML5 audio标签为什么不能播放mp3格式的音频文件
CEF3 HTML5 audio标签 为什么不能播放mp3格式的音频文件 原因略. 解决方法: 找一个最新版的chrome ,我用的是24版本.路径 C:\Documents and Sett ...
- 20165330 2017-2018-2 《Java程序设计》第3周学习总结
课本知识总结 第四章 类与对象 类:包括类声明和类体 基本格式: class 类名 { 类体的内容 } 类声明: class+类名(注意:类名首字母需大写) 类体:类声明之后的一对"{&qu ...
- Zipline Data Bundles
Data Bundles A data bundle is a collection of pricing data, adjustment data, and an asset database. ...
- pymsql与ORM--python操作MySQL之利器
pymsql 原生模块 pymsql是python中操作MySQL的模块,其使用方法和MySQLdb几乎相同. 下载安装 pip3 install pymysql 使用操作 1.执行SQL impor ...
- 【opencv】cv::Mat_ 对单个元素赋值
创建一个cv::Mat_并赋值 cv::Mat_<,); mat(,)=VIRTUAL_FOCAL; mat(,)=; mat(,)=roiSize_x/; mat(,)=; mat(,)=VI ...