Occurs when the user performs a panning process in this control.
public event EventHandler<ImagePanViewerEventArgs> Pan
Public Event Pan As EventHandler(Of ImagePanViewerEventArgs)
public:
event EventHandler<ImagePanViewerEventArgs^>^ Pan
The event handler receives an argument of type ImagePanViewerEventArgs containing data related to this event. The following ImagePanViewerEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value that indicates whether to cancel the current pan process. |
Handled (Inherited from System.Windows.RoutedEventArgs) | |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
Rectangle | Gets the current pan rectangle. |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | |
Source (Inherited from System.Windows.RoutedEventArgs) | |
Status | Gets the current status of the pan process. |
This event provides the current status of the pan operation: Begin, Panning, or End, as well as the current panning rectangle.
For C#/VB examples, refer to ImagePanViewer.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET