Microsoft
70-511 · Question #85
You are developing a Windows Presentation Foundation (WPF) application. The application uses drag-and-drop functionality. You need to ensure that code is executed in the code-behind file when the…
The correct answer is D. DragAction.Drop. See the full explanation below for the reasoning.
Question
You are developing a Windows Presentation Foundation (WPF) application. The application uses drag-and-drop functionality. You need to ensure that code is executed in the code-behind file when the dragged item is released onto the target element. Which enumeration should you use?
Options
- ADragDropEffects.None
- BDragAction.Cancel
- CDragDropEffects.AII
- DDragAction.Drop
How the community answered
(60 responses)- A12% (7)
- B5% (3)
- C3% (2)
- D80% (48)
Community Discussion
No community discussion yet for this question.