[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber.OnValueChanged

OnValueChanged Method

OnValueChanged(RoutedEventArgs)

Raise the ValueChanged routed event.

Declaration
protected virtual void OnValueChanged(RoutedEventArgs e)
Protected Overridable Sub OnValueChanged(e As RoutedEventArgs)
Parameters
Type Name Description
RoutedEventArgs e

The RoutedEventArgs instance containing the event data.

Remarks

Raising an event invokes the event handler through a delegate. The OnValueChanged method also enables derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

note

When overriding OnValueChanged in a derived class, be sure to call the base class's OnValueChanged method so that registered delegates receive the event.