IBoolean Parameter Spec EventsParameter Default Value Changed Method
Occurs when the user changes of the default value of a parameter.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
void ParameterDefaultValueChanged(
Object sender,
Object args
)VB
Sub ParameterDefaultValueChanged (
sender As Object,
args As Object
)Parameters
- sender Object
- The RealParameter that raised the event.
- args Object
- A ParameterDefaultValueChanged that contains information about the event.
Remarks
Raising an event invokes the event handler through a delegate.
The OnParameterDefaultValueChanged 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 OnParameterDefaultValueChanged in a derived class, be sure to call the base class's OnParameterDefaultValueChanged method so that registered delegates receive the event.