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开头的事件。