[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.EditBase.OnReadOnlyChanged

OnReadOnlyChanged Method

OnReadOnlyChanged(EventArgs)

Raises the ReadOnlyChanged event.

Declaration
protected virtual void OnReadOnlyChanged(EventArgs e)
Protected Overridable Sub OnReadOnlyChanged(e As EventArgs)
Parameters
Type Name Description
EventArgs e

The EventArgs instance that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

The OnReadOnlyChanged 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 OnReadOnlyChanged in a derived class, be sure to call the base class's OnReadOnlyChanged method so that registered delegates receive the event.