UIElement.PreviewQueryContinueDrag Evento

Definición

Se produce cuando hay algún cambio en el estado del botón del mouse o del teclado durante una operación de arrastrar y colocar.Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

public:
 event System::Windows::QueryContinueDragEventHandler ^ PreviewQueryContinueDrag;
public event System.Windows.QueryContinueDragEventHandler PreviewQueryContinueDrag;
member this.PreviewQueryContinueDrag : System.Windows.QueryContinueDragEventHandler 
Public Custom Event PreviewQueryContinueDrag As QueryContinueDragEventHandler 

Comentarios

El evento PreviewQueryContinueDrag permite al origen de arrastre declarar si se debe cancelar la operación de arrastrar y colocar.The PreviewQueryContinueDrag event enables the drag source to declare whether the drag-and-drop operation should be canceled.

Este evento crea un alias para el evento adjunto de DragDrop.PreviewQueryContinueDrag para esta clase, de modo que PreviewQueryContinueDrag forme parte de la lista de miembros de clase cuando UIElement se herede como un elemento base.This event creates an alias for the DragDrop.PreviewQueryContinueDrag attached event for this class, so that PreviewQueryContinueDrag is part of the class members list when UIElement is inherited as a base element. Los controladores de eventos adjuntos al evento PreviewQueryContinueDrag se adjuntan al evento adjunto DragDrop.PreviewQueryContinueDrag subyacente y reciben la misma instancia de datos de evento.Event handlers that are attached to the PreviewQueryContinueDrag event are attached to the underlying DragDrop.PreviewQueryContinueDrag attached event and receive the same event data instance.

Información sobre eventos enrutadosRouted Event Information

Campo de identificadorIdentifier field PreviewQueryContinueDragEvent
Estrategia de enrutamientoRouting strategy TúnelesTunneling
delegadoDelegate QueryContinueDragEventHandler

Se aplica a