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