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
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.