This documentation is archived and is not being maintained.

Control.StyleChanged Event

Occurs when the control style changes.

[Visual Basic]
Public Event StyleChanged As EventHandler
public event EventHandler StyleChanged;
public: __event EventHandler* StyleChanged;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type EventArgs.


The StyleChanged event occurs when ControlStyles flags have been added or changed.

This event is raised if the cotrol style is changed by either a programmatic modification or user interaction.

For more information about handling events, see Consuming Events.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | OnStyleChanged | SetStyle | ControlStyles