| Visual Basic (Declaration) | |
|---|---|
Public Class ImagePanViewer Inherits UserControl Implements IManagedPeer, INativeCoreTypeWrapper  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public class ImagePanViewer : UserControl, IManagedPeer, INativeCoreTypeWrapper  | |
| C++/CLI | |
|---|---|
public ref class ImagePanViewer : public UserControl, IManagedPeer, INativeCoreTypeWrapper  | |
| XAML Object Element Usage | |
|---|---|
<ImagePanViewer .../>  | |
| XAML Object Element Usage | |
|---|---|
<ImagePanViewer .../>  | |
            The ImagePanViewer is used to display a scaled view of an image, which is also being 
            displayed in the ImageViewer control at a size that would require scrolling. 
            The ImagePanViewer will maintain the image's aspect ratio. 
            In the ImagePanViewer, a colored Pan rectangle will be displayed to 
            indicate the portion of the image currently being displayed in the 
            ImageViewer associated with this PanViewer control. 
            When a user clicks inside the ImagePanViewer and moves the 
            mouse, while holding down the button, the Pan rectangle will move with the 
            mouse pointer. Set the Source property 
            to a ImageViewer object to be panned.
            
            System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.UserControl
                  Leadtools.Silverlight3.Controls.ImagePanViewer
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
  
   
                           


~135.gif)
Copy Code