ContentElement.DragLeave Событие
Определение
Возникает, когда система ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве источника перетаскивания этот элемент.Occurs when the input system reports an underlying drag event with this element as the drag origin.
public:
event System::Windows::DragEventHandler ^ DragLeave;
public event System.Windows.DragEventHandler DragLeave;
member this.DragLeave : System.Windows.DragEventHandler
Public Custom Event DragLeave As DragEventHandler
Тип события
Комментарии
Это событие создает псевдоним для DragDrop.DragLeave присоединенного события для этого класса, чтобы ContentElement.DragLeave он был частью списка членов класса, если ContentElement наследуется как базовый элемент.This event creates an alias for the DragDrop.DragLeave attached event for this class so that ContentElement.DragLeave is part of the class members list when ContentElement is inherited as a base element. Обработчики событий, присоединенные к DragLeave событию, присоединяются к базовому DragDrop.DragLeave присоединенному событию и получают тот же экземпляр данных события.Event handlers that are attached to the DragLeave event are attached to the underlying DragDrop.DragLeave attached event and receive the same event data instance.
Сведения о маршрутизируемом событииRouted Event Information
Поле идентификатораIdentifier field | DragLeaveEvent |
Стратегия маршрутизацииRouting strategy | Восходящей маршрутизацииBubbling |
ДелегатDelegate | DragEventHandler |
Соответствующее событие туннелирования — PreviewDragLeave .The corresponding tunneling event is PreviewDragLeave.
Переопределение OnDragLeave для реализации обработки класса для этого события в производных классах.Override OnDragLeave to implement class handling for this event in derived classes.