DropTarget Control Pattern

Provides guidelines and conventions for implementing the DropTarget control pattern by using IDropTargetProvider, including information about properties and methods. The DropTarget control pattern is used to support controls that can be the target of a drag-and-drop operation.

Implementation Guidelines and Conventions

When implementing the DropTarget control pattern, use the following guidelines and conventions:

Required Members for IDropTargetProvider

The following properties and methods are required for implementing the IDropTargetProvider interface.

Required membersMember typeNotes
DropTargetEffect PropertyNone
DropTargetEffects PropertyRequired if the drop target supports more than one possible drop effect.


Related topics

Control Types and Their Supported Control Patterns
Drag Control Pattern
UI Automation Control Patterns Overview
UI Automation Tree Overview
UI Automation Support for Drag-and-Drop