Event handler called before the color scheme is applied.
| C# |
public event HtmlEditor..::.CreateColorSchemeInfoEventHandler CreateColorSchemeInfo
This event allows the developer to modify the color scheme information
before the color scheme is applied to the web controls.
The HtmlEditor..::.CreateColorSchemeInfoEventArgs object passed to
the event handler includes a public ColorScheme property, enabling
modification of color scheme information.
Event handler:
CopyC#
protected void Editor_CreateColorSchemeInfo(object sender, HtmlEditor.CreateColorSchemeInfoEventArgs e) { // Modify the color scheme e.ColorScheme.EditorBackColor = ColorTranslator.FromHtml("Gainsboro"); e.ColorScheme.EditorForeColor = ColorTranslator.FromHtml("Navy"); }