Visual Basic (Declaration) | |
---|---|
Public Class ImagePanViewer Inherits FrameworkElement Implements IElement |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public class ImagePanViewer : FrameworkElement, IElement |
Managed Extensions for C++ | |
---|---|
public __gc class ImagePanViewer : public FrameworkElement, IElement |
C++/CLI | |
---|---|
public ref class ImagePanViewer : public FrameworkElement, IElement |
XAML Object Element Usage | |
---|---|
<ImagePanViewer .../> |
The ImagePanViewer is used to display a scaled view of an image, which is also being
displayed in the BitmapSourceViewer 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
BitmapSourceViewer 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 BitmapSourceViewer object to be panned.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
Leadtools.Windows.Controls.ImagePanViewer
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family