The ErrorDisplay control provides a simple mechanism for displaying error and status messages in an easy to use, attractive and reusable control.

The class includes several ways to do display data (ShowError, ShowMessage) as well as direct assignment to the .Text property which allows direct display of content.

Assigning to .Text and with a UserMessage set:

ShowMessage:

ShowError:

ShowError and ShowMessage are plain display mechanisms that show only the essage specified along with an icon to the left of the message. You can also assign the Text property directly which assign the message body text. The UserMessage displays at the top of the control is configurable. You can also have the control timeout and 'fade out' after a few seconds of dplaying the message text.