HTML Editor for ASP.NET AJAX
CreateColorSchemeInfo Event
Server ReferenceWinthusiasm.HtmlEditorHtmlEditorCreateColorSchemeInfo
Event handler called before the color scheme is applied.
Declaration Syntax
C#
public event HtmlEditor..::.CreateColorSchemeInfoEventHandler CreateColorSchemeInfo
Remarks
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.
Examples
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");
}

Assembly: Winthusiasm.HtmlEditor (Module: Winthusiasm.HtmlEditor) Version: 2.3.0.0 (2.3.0.0)