zoukankan      html  css  js  c++  java
  • 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开头的事件。

  • 相关阅读:
    zbb20190605 maven windows配置maven私服以及使用
    zbb20190528 城市经纬度json
    zbb20190528 adcode 城市编码
    zbb20190430 springboot 配置alimq
    zbb20190408 spring-boot-maven-plugin 插件的作用详解
    zbb20190131 Mybatis,mysql映射文件<!CDATA[[]]> 转义问题
    Spring Boot (29) 定时任务
    Spring Boot (28) actuator与spring-boot-admin
    Spring Boot (27) actuator服务监控与管理
    Java 8
  • 原文地址:https://www.cnblogs.com/fiteg/p/3186796.html
Copyright © 2011-2022 走看看