LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

Pan Event






Occurs when the user performs a panning process in this control. .NET support Silverlight support
Syntax
'Declaration
 
Public Event Pan As EventHandler(Of ImagePanViewerEventArgs)
'Usage
 
Dim instance As ImagePanViewer
Dim handler As EventHandler(Of ImagePanViewerEventArgs)
 
AddHandler instance.Pan, handler
add_Pan(function(sender, e))
remove_Pan(function(sender, e))

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. .NET support Silverlight support
Handled (Inherited from System.Windows.RoutedEventArgs) 
OriginalSource (Inherited from System.Windows.RoutedEventArgs) 
Rectangle Gets the current pan rectangle. .NET support Silverlight support
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) 
Source (Inherited from System.Windows.RoutedEventArgs) 
Status Gets the current status of the pan process. .NET support Silverlight support
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.