The event handler receives an argument of type PropertyChangedEventArgs containing data related to this event. The following PropertyChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
PropertyName |
Most of the properties of this ImageViewer will fire the PropertyChanged event when the value changes. When this happens, the value of PropertyChangedEventArgs.PropertyName of the event data will be set to the name of the property that was changed. For example, the PropertyChangedEventArgs.PropertyName will be set to "ScaleFactor" when ScaleFactor changes and "ScrollOffset" when ScrollOffset changes.
System.ComponentModel.PropertyChangedEventArgs