| Visual Basic (Declaration) | |
|---|---|
Public Class ImageViewer Inherits ContentControl Implements IManagedPeer, INativeCoreTypeWrapper  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public class ImageViewer : ContentControl, IManagedPeer, INativeCoreTypeWrapper  | |
| C++/CLI | |
|---|---|
public ref class ImageViewer : public ContentControl, IManagedPeer, INativeCoreTypeWrapper  | |
| XAML Object Element Usage | |
|---|---|
<ImageViewer .../>  | |
| XAML Object Element Usage | |
|---|---|
<ImageViewer .../>  | |
            The ImageViewer is used to display graphics from a JPEG or PNG file.
Set the Source property to a BitmapImage object to be displayed.
The ImageViewer control can automatically handle zooming and scrolling.
            Set the Source property to a BitmapImage object to be displayed.
The ImageViewer control can automatically handle zooming and scrolling.
System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Leadtools.Silverlight3.Controls.ImageViewer
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
  
   
                           



Copy Code