|
|
|
|
OnFontChanged Method, SftTabs Class |
Raises the FontChanged event.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Protected Overrides Sub OnFontChanged( ByVal e As EventArgs ) |
C# |
protected override void OnFontChanged( EventArgs e ); |
C++ |
protected: virtual void OnFontChanged( EventArgs^ e ); |
e
An EventArgs that contains the event data.
Comments
The OnFontChanged method raises the FontChanged event.
Raising an event invokes the event handler through a delegate.
The OnFontChanged 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.
When overriding OnFontChanged in a derived class, make sure to call the base class's OnFontChanged method so that registered delegates receive the event.