Leadtools.Windows.Controls Namespace > ImageViewer Class : ImageSizeChanged Event |
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
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.
Property | Description |
---|---|
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 |
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.
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