Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Windows Presentation Foundation: 3 Events and the Event Model

via LinkedIn Learning

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.
Create rich Windows user experiences using the event model—the new and improved system for reacting to application events and user-triggered events like keyboard and mouse input.

Syllabus

Introduction
  • Welcome
  • What you should know before watching
  • Disable the WPF debugging tool
  • Using the exercise files
1. Understand the Event Model
  • Understand routed events
  • Understand event signatures
  • Understand the RoutedEventArgs
  • Wire up event handlers in XAML
  • Wire up event handlers with the Properties window
  • Wire up event handers in code
  • Understand event bubbling
  • Understand event tunneling
  • Suppress events as they traverse the element tree
2. Mouse Events
  • The MouseEnter and MouseLeave events
  • Use the MouseWheel event
  • Use the MouseMove event
  • Set the mouse cursor
  • Start a drag operation
  • Use DragEnter to indicate a valid drag target
  • Use the Drop event to complete the drag/drop operation
  • Use formats to send different data to the drop target
3. Keyboard and Ink Events
  • Use the TextChanged event
  • Use the KeyUp event
  • Use TextInput event to block user input
  • Use the InkCanvas
  • Use the Gesture event
Conclusion
  • Next steps

Taught by

Walt Ritscher

Reviews

Start your review of Windows Presentation Foundation: 3 Events and the Event Model

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.