nerdexam
Microsoft

70-511 · Question #282

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 identify which enumeration member…

The correct answer is C. DragDropEffects.All. 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 identify which enumeration member must be used to meet the following requirements:

  • Ensure that the data from the drag source can be copied.
  • Ensure that the data from the drag source can be moved.
  • Ensure that the target can be scrolled while you are dragging.

Which enumeration member should you identify?

Options

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

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    81% (17)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice