# Dialog Box Icons

## Content



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. |
| <br />![](https://cdn.mescius.io/document-site-files/images/88084ada-ce7b-4ec0-9f66-d851989d7cf2/imagesext/image9_1.png) | Shield | A shield icon appears in the task dialog box. |
| <br />![](https://cdn.mescius.io/document-site-files/images/88084ada-ce7b-4ec0-9f66-d851989d7cf2/imagesext/image9_2.png) | Information | An icon consisting of a lowercase letter "i" in a circle appears in the task dialog box. |
| <br />![](https://cdn.mescius.io/document-site-files/images/88084ada-ce7b-4ec0-9f66-d851989d7cf2/imagesext/image9_3.png) | Error | A stop-sign icon appears in the task dialog box. |
| <br />![](https://cdn.mescius.io/document-site-files/images/88084ada-ce7b-4ec0-9f66-d851989d7cf2/imagesext/image9_4.png) | 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](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1TaskDialog.MainCommonIcon.html) property to one of the above options. To set the footer icon, set the [FooterCommonIcon](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1TaskDialog.FooterCommonIcon.html) 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.