InkCanvas.SelectionMoved InkCanvas.SelectionMoved InkCanvas.SelectionMoved InkCanvas.SelectionMoved Event

Definición

Se produce una vez que el usuario mueve una selección trazos o elementos.Occurs after the user moves a selection of strokes and/or elements.

public:
 event EventHandler ^ SelectionMoved;
public event EventHandler SelectionMoved;
member this.SelectionMoved : EventHandler 
Public Event SelectionMoved As EventHandler 

Ejemplos

En el ejemplo siguiente, se anula la selección de elementos en un InkCanvas después de que el usuario mueve a ellos.The following example unselects items on an InkCanvas after the user moves them.

// Unselect the items on the InkCanvas once the user has moved them.
void inkCanvas1_SelectionMoved(object sender, EventArgs e)
{
    inkCanvas1.Select(null, null);
}
' Unselect the items on the InkCanvas once the user has moved them.
Private Sub inkCanvas1_SelectionMoved(ByVal sender As Object, ByVal e As EventArgs)

    inkCanvas1.Select(Nothing, Nothing)

End Sub 'inkCanvas1_SelectionMoved

Comentarios

Este evento se produce después de que se mueve una selección de trazos o elementos, pero antes del trazo o elemento de datos se actualizan para registrar la nueva posición.This event occurs after a selection of strokes and/or elements is moved, but before the stroke or element data is updated to record its new position. Agregar un controlador de eventos para el SelectionMoving eventos.Add an event handler to the SelectionMoving event.

Se aplica a

Consulte también: