Leadtools.Windows.Controls Namespace > ImagePanViewer Class : Pan Event |
public event EventHandler<ImagePanViewerEventArgs> Pan
'Declaration Public Event Pan As EventHandler(Of ImagePanViewerEventArgs)
'Usage Dim instance As ImagePanViewer Dim handler As EventHandler(Of ImagePanViewerEventArgs) AddHandler instance.Pan, handler
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.