Products | Support | Back to Introduction | Email a link to this topic. | Back to Introduction - All Topics | Help Version 19.0.4.23
|
Leadtools.Windows.Media.Effects Namespace > WindowLevelEffect Class : OnCurveTypeChanged Method |
protected virtual void OnCurveTypeChanged( DependencyPropertyChangedEventArgs e )
'Declaration Protected Overridable Sub OnCurveTypeChanged( _ ByVal e As DependencyPropertyChangedEventArgs _ )
'Usage Dim instance As WindowLevelEffect Dim e As DependencyPropertyChangedEventArgs instance.OnCurveTypeChanged(e)
protected: virtual void OnCurveTypeChanged( DependencyPropertyChangedEventArgs e )
Raising an event invokes the event handler through a delegate.
The OnCurveTypeChanged 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 OnCurveTypeChanged in a derived class, be sure to call the base class's OnCurveTypeChanged method so that registered delegates receive the event.