Leadtools.Windows.Controls Namespace > RasterImageBox Class : OnConvertToSourceOptionsChanged Method |
protected virtual void OnConvertToSourceOptionsChanged( RoutedPropertyChangedEventArgs<ConvertToSourceOptions> e )
'Declaration Protected Overridable Sub OnConvertToSourceOptionsChanged( _ ByVal e As RoutedPropertyChangedEventArgs(Of ConvertToSourceOptions) _ )
'Usage Dim instance As RasterImageBox Dim e As RoutedPropertyChangedEventArgs(Of ConvertToSourceOptions) instance.OnConvertToSourceOptionsChanged(e)
protected: virtual void OnConvertToSourceOptionsChanged( RoutedPropertyChangedEventArgs<ConvertToSourceOptions>^ e )
Raising an event invokes the event handler through a delegate.
The OnConvertToSourceOptionsChanged 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 OnConvertToSourceOptionsChanged in a derived class, be sure to call the base class's OnConvertToSourceOptionsChanged method so that registered delegates receive the event.