Grid View. On Row Headers Border Style Changed(EventArgs) Method
Raises the RowHeadersBorderStyleChanged event.
protected: virtual void OnRowHeadersBorderStyleChanged(EventArgs ^ e);
protected virtual void OnRowHeadersBorderStyleChanged (EventArgs e);
abstract member OnRowHeadersBorderStyleChanged : EventArgs -> unit override this.OnRowHeadersBorderStyleChanged : EventArgs -> unit
Protected Overridable Sub OnRowHeadersBorderStyleChanged (e As EventArgs)
Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.
The OnRowHeadersBorderStyleChanged 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 OnRowHeadersBorderStyleChanged(EventArgs) in a derived class, be sure to call the base class' OnRowHeadersBorderStyleChanged(EventArgs) method so that registered delegates receive the event.