Event arguments for all display zoom related events. More...
Inherits RoutedEventArgs.
Public Member Functions | |
DisplayZoomEventArgs (RoutedEvent routedEvent, object source, double zoomFactor, Point zoomCenter) | |
Creates a new instance of the DisplayZoomEventArgs class using the given routedEvent identifier and event source . I also takes the zoomFactor at the point in time the arguments are created. More... | |
Properties | |
Point | ZoomCenter [get] |
Gets the zoom center in bitmap source pixel coordinates associated with the event. | |
double | ZoomFactor [get] |
Gets the zoom factor associated with the event. | |
Event arguments for all display zoom related events.
DisplayZoomEventArgs | ( | RoutedEvent | routedEvent, |
object | source, | ||
double | zoomFactor, | ||
Point | zoomCenter | ||
) |
Creates a new instance of the DisplayZoomEventArgs class using the given routedEvent identifier and event source . I also takes the zoomFactor at the point in time the arguments are created.
routedEvent | The routed ecvent identifier for this instance of the DisplayZoomEventArgs class. |
source | The alternate source that will be reported when the event is handled. This pre-populates the RoutedEventArgs.Source property. |
zoomFactor | The zoom factor associated with the event. |
zoomCenter | The zoom center associated with the event. |