Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
/** @event */ public void add_SelectionMoving (InkCanvasSelectionEditingEventHandler value) /** @event */ public void remove_SelectionMoving (InkCanvasSelectionEditingEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
This event occurs after the user requests that a selection of strokes and/or elements be moved and before the change is applied.
The event handler receives an argument of type InkCanvasSelectionEditingEventArgs that contains two properties, OldRectangle and NewRectangle, which respectively contain the rectangle that defines the boundaries of the selection before the move and the rectangle that defines the boundaries of the selection after the move.
After the change is applied, the SelectionMoved event will occur.
The following example prevents the user from vertically moving the selected items on an InkCanvas.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.