The C1TaskDialog control includes several built-in icons that can be displayed in the header area or the footer area of the dialog box. The following common icons are included:
Icon | Name | Description |
---|---|---|
None | None | Displays no icons. |
Shield | A shield icon appears in the task dialog box. | |
Information | An icon consisting of a lowercase letter "i" in a circle appears in the task dialog box. | |
Error | A stop-sign icon appears in the task dialog box. | |
Warning | An exclamation-point icon appears in the task dialog box. |
To have an icon appear in the header area and in the caption bar, set the MainCommonIcon property to one of the above options. To set the footer icon, set the FooterCommonIcon property to one of the above icons. Note that if you want to add a custom icon to the header or footer areas, you can instead set the MainCustomIcon and FooterCustomIcon properties to icon images of your choice.