nerdexam
Microsoft

70-518 · Question #240

You use Microsoft .NET Framework 4 to create a Windows Forms application. The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid…

The correct answer is C. Use the DragDropEffects enumeration. See the full explanation below for the reasoning.

Question

You use Microsoft .NET Framework 4 to create a Windows Forms application. The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid file names. The application allows users to drag a ListBox item to the RichTextBox control. You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBox control. What should you do?

Options

  • AUse a DoubleAnimation class.
  • BUse a Storyboard animation class.
  • CUse the DragDropEffects enumeration.
  • DUse the DragAction enumeration.

How the community answered

(37 responses)
  • A
    11% (4)
  • B
    5% (2)
  • C
    81% (30)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice