nerdexam
Microsoft

70-511 · Question #52

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the drag-and-drop functionality. You need to ensure that the drag-and-drop…

The correct answer is A. DragAction.Cancel. See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the drag-and-drop functionality. You need to ensure that the drag-and-drop operation is stopped when a user moves the cursor outside the boundaries of the application form. Which enumeration member should you use?

Options

  • ADragAction.Cancel
  • BDragAction.Drop
  • CDragDropEffects.None
  • DDragDropEffects.All

How the community answered

(58 responses)
  • A
    76% (44)
  • B
    7% (4)
  • C
    14% (8)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice