LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

Pan Event

Show in webframe





Occurs when the user performs a panning process in this control.
Syntax
'Declaration
 
Public Event Pan As EventHandler(Of ImagePanViewerEventArgs)
'Usage
 
Dim instance As ImagePanViewer
Dim handler As EventHandler(Of ImagePanViewerEventArgs)
 
AddHandler instance.Pan, handler

            

            
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

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.