This member cannot be used in scripts, but is usable in the command bar and plugins.
The ThemeChanged event fires when Studio’s
Studio/Theme|Theme changes. The best use of this event is to get the colors from the theme that changed and update your plugin’s UI accordingly.
Articles/building studio widgets|Building Studio Widgets tutorial for details on working with custom Studio widgets.