Leadtools.Windows.Controls Namespace > RasterImageViewer Class : OnConvertFromSourceOptionsChanged Method |
protected virtual void OnConvertFromSourceOptionsChanged( RoutedPropertyChangedEventArgs<ConvertFromSourceOptions> e )
'Declaration Protected Overridable Sub OnConvertFromSourceOptionsChanged( _ ByVal e As RoutedPropertyChangedEventArgs(Of ConvertFromSourceOptions) _ )
'Usage Dim instance As RasterImageViewer Dim e As RoutedPropertyChangedEventArgs(Of ConvertFromSourceOptions) instance.OnConvertFromSourceOptionsChanged(e)
protected: virtual void OnConvertFromSourceOptionsChanged( RoutedPropertyChangedEventArgs<ConvertFromSourceOptions>^ e )
Raising an event invokes the event handler through a delegate.
The OnConvertFromSourceOptionsChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors: When overriding OnConvertFromSourceOptionsChanged in a derived class, be sure to call the base class's OnConvertFromSourceOptionsChanged method so that registered delegates receive the event.