LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Source Property
See Also 
Leadtools.Windows.Controls Namespace > ImagePanViewer Class : Source Property



Gets or sets the image viewer currently assigned for panning process by the control. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Source As ImageViewer
Visual Basic (Usage)Copy Code
Dim instance As ImagePanViewer
Dim value As ImageViewer
 
instance.Source = value
 
value = instance.Source
C# 
public ImageViewer Source {get; set;}
C++/CLI 
public:
property ImageViewer^ Source {
   ImageViewer^ get();
   void set (    ImageViewer^ value);
}

Property Value

An ImageViewer or RasterImageViewer object which has the image to be panned using the ImagePanViewer control. Default value is null (Nothing in Visual Basic).

Example

For XAML example, refer to ImagePanViewer.

For C#/VB examples, refer to ImagePanViewer.

Remarks

This property contains the ImageViewer or RasterImageViewer object which contains the image to be panned using the ImagePanViewer control. Whenever the Source property is changed, the image displayed in the ImagePanViewer control is updated.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also