Skip to content

Latest commit

 

History

112 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Alert Control - Display alert popups in different colors

The WinForms AlertControl v.22.1+ supports HTML and CSS Templates. This example handles the AlertControl.CustomizeHtmlTemplate event to customize the background color of alert windows:

private void alertControl2_CustomizeHtmlTemplate(object sender, DevExpress.XtraBars.Alerter.CustomizeAlertHtmlTemplateEventArgs e) {
    DxHtmlElement element = e.Root.FindElementById("popup");
    if (element != null)
        element.Style.SetBackgroundColor(colorPickEdit1.Color);
}

WinForms Alert Control - Display alert popups in different colors

Files to Review

Documentation

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use HTML-CSS Support to display styled alert windows in different colors.

Topics

Resources

Stars

0 stars

Watchers

54 watching

Forks

Used by

Contributors

Languages