Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
SourceChanged Event
See Also 
Leadtools.Windows.Controls Namespace > ImagePanViewer Class : SourceChanged Event





Gets or sets the viewer currently assigned for the panning process by the control.

Syntax

Visual Basic (Declaration) 
Public Event SourceChanged() As RoutedPropertyChangedEventHandler(Of BitmapSourceViewer)
Visual Basic (Usage)Copy Code
Dim instance As ImagePanViewer
Dim handler As RoutedPropertyChangedEventHandler(Of BitmapSourceViewer)
 
AddHandler instance.SourceChanged, handler
C# 
public event RoutedPropertyChangedEventHandler<BitmapSourceViewer> SourceChanged()
Managed Extensions for C++ 
public: __event RoutedPropertyChangedEventHandler<BitmapSourceViewer> SourceChanged();
C++/CLI 
public:
event RoutedPropertyChangedEventHandler<BitmapSourceViewer> SourceChanged();
XAML Attributes Usage 

<object SourceChanged=EventHandler<ExceptionRoutedEventArgs>/> ...

Routed Event Information 

Identifier field

SourceChangedEvent

Routing strategy

Bubbling

Delegate

EventHandler<(Of <(TEventArgs>)>)

Example

For XAML example, refer to Source.

For C#/VB examples, refer to Source.

Remarks

This property contains the BitmapSourceViewer object which contains an image to be panned using the ImagePanViewer control. Whenever the Viewer property is changed, the image displayed in the ImagePanViewer control is affected by this change.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also