LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

ImageSizeChanged Event






Occurs when the control size changes. .NET support Silverlight support
Syntax
public event SizeChangedEventHandler ImageSizeChanged
'Declaration
 
Public Event ImageSizeChanged As SizeChangedEventHandler
'Usage
 
Dim instance As ImageViewer
Dim handler As SizeChangedEventHandler
 
AddHandler instance.ImageSizeChanged, handler
public event SizeChangedEventHandler ImageSizeChanged
add_ImageSizeChanged(function(sender, e))
remove_ImageSizeChanged(function(sender, e))

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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImageViewer Class
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.