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

  • 相关阅读:
    opencv c++编译
    报bug
    ssh的server安装和安装指定版本的软件的方法
    caffe修改需要的东西 6:40
    caffe修改需要的东西
    leveldb学习:DBimpl
    AndroidStudio加快Gradle速度的方法-android study之旅(103)
    hdu2222--Keywords Search+AC自己主动机模板
    ListView setOnItemClickListener无效原因分析
    Linux打包命令
  • 原文地址:https://www.cnblogs.com/fiteg/p/3186796.html
Copyright © 2020-2023  润新知