• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Step By Step-Stone
博客园    首页    新随笔    联系   管理    订阅  订阅

Properties Specific to RoutedEventArgs

Source (The ListBox)

The object that raised the event. This is a property you will

generally be interested in. It’s useful to note that with routed
events this is likely to be different from the sender.

 

OriginalSource (The ScrollViewer)

This returns original reporting source. That is the object that

really raised the event. This property does not change as the
event travels along its route.

 

Sender (The Grid)

Sender is where we captured the event. 

 

Handled

A bool that lets you know if the event has already been handled.

You should mark this true in your own handlers.

 

RoutedEvent

This identifies the type of event that was raised. Many events

have the same signature, and a single handler might be
responsible for several events.
posted @ 2011-02-14 17:17  JiaruiStone  阅读(325)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3