Use the DataObject to send information of various types to the drop target. This video looks at the format property and how to use it to set the data type for the transferred data.
- [Instructor] In this demonstration I have…an application that supports drag and drop,…this time I'm dragging words on the screen,…so what I have is a match word where you try…to match the opposite word,…so I go over here to the word hot, pick it up,…you'll see that I'm getting feedback from…the user interface,…as I move in to my targets I see when…I'm over a valid target it'll change several things,…the color of the word changes and the word…in the center of the screen changes,…showing that I'm guessing at this point,…then when I drop on the correct word, hot to cold,…those are opposites, I get the word correct here,…if I take dry and drop it on wet I get correct,…if I take light and drop it on wet I get try again,…the point of this demonstration is all the things…I showed you in the previous examples of how to…start the drag operation and how to provide feedback…are the same, what's different is what am I sending…from the drag source to the drop target,…see how I did that,…go over to the main UI, let's take a look at these…
- Recognize routed events. Explain event signatures. Determine how to wire up event handlers. Define event bubbling and event tunneling. Break down how to program mouse events. Show how to program keyboard and ink events.
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
1. Understand the Event Model
2. Mouse Events
3. Keyboard and Ink Events
Next steps1m 34s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.