←Select platform

Pan Event

Summary

Occurs when the user performs a panning process in this control.

Syntax

C#
VB
C++
public event EventHandler<ImagePanViewerEventArgs> Pan 
  
Public Event Pan As EventHandler(Of ImagePanViewerEventArgs) 
public: 
event EventHandler<ImagePanViewerEventArgs^>^ Pan 

Event Data

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.

PropertyDescription
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.
Remarks

This event provides the current status of the pan operation: Begin, Panning, or End, as well as the current panning rectangle.

Example

For C#/VB examples, refer to ImagePanViewer.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly