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



Occurs when the control size changes. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Event ImageSizeChanged As SizeChangedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim handler As SizeChangedEventHandler
 
AddHandler instance.ImageSizeChanged, handler
C# 
public event SizeChangedEventHandler ImageSizeChanged
C++/CLI 
public:
event SizeChangedEventHandler^ ImageSizeChanged

Event Data

The event handler receives an argument of type SizeChangedEventArgs containing data related to this event. The following SizeChangedEventArgs properties provide information specific to this event.

PropertyDescription
Handled (Inherited from System.Windows.RoutedEventArgs) 
HeightChanged  
NewSize  
OriginalSource (Inherited from System.Windows.RoutedEventArgs) 
PreviousSize  
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) 
Source (Inherited from System.Windows.RoutedEventArgs) 
WidthChanged  

Remarks

This event is raised if any action through user interaction or programmatically that cause the control size to change, for example, through the resizing of the owner window or container or if the image inside th eSource property changes.

Requirements

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

See Also