[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.EditBase.OnContentAlignmentChanged

OnContentAlignmentChanged Method

OnContentAlignmentChanged(EventArgs)

Occurs when the ContentAlignment property is changed.

Declaration
protected virtual void OnContentAlignmentChanged(EventArgs e)
Protected Overridable Sub OnContentAlignmentChanged(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 OnContentAlignmentChanged 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 OnContentAlignmentChanged in a derived class, be sure to call the base class's OnContentAlignmentChanged method so that registered delegates receive the event.