# Icons

The **RadOutlookBarItems** expose the **Icon** and **SmallIcon** properties. They are of type **BitmapSource** and they define the source of the picture placed infront of the content of the **RadOutlookBarItem**. The bar items expose an additional **IconMargin** property. It is used to get or set the margin of the **Icon** element inside of the item.

The **Icon** property gets or sets the icon of the **RadOutlookBarItem** when it is in normal state – not minimized.

**Example 1: Setting Icon Property**

```XAML
<telerik:RadOutlookBarItem Header="Folder List" Icon="foldersSmall.png" />
```

> caption Icon property result

![outlookbar icons 01](https://www.telerik.com/products/wpf/documentation/assets/7860e8506211fe03886caa0ec7bab4ba/outlookbar_features_icons_01.png)

The **SmallIcon** property gets or sets the icon of the **RadOutlookBarItem** when it is in the  [minimized area](https://www.telerik.com/products/wpf/documentation/controls/radoutlookbar/visual-structure) or when it is in the **ItemDropDownContent**. The **ItemDropDownContent** is the content of the pop up which is opened after you click the [overflow button](https://www.telerik.com/products/wpf/documentation/controls/radoutlookbar/visual-structure) located in the lower right corner of the **RadOutlookBar**.

> caption Setting SmallIcon property

![outlookbar icons 02](https://www.telerik.com/products/wpf/documentation/assets/31c4589578bc7ffabd7bdeee6ee5f856/outlookbar_features_icons_02.png)

**Example 2: Setting IconMargin Property**

```XAML
<telerik:RadOutlookBarItem  Header="Folder List" Icon="foldersSmall.png" IconMargin="10"/>
```

> caption IconMargin property result

![outlookbar icons 03](https://www.telerik.com/products/wpf/documentation/assets/5242e7e9c53d7a5c32255bbcc5c67712/outlookbar_features_icons_03.png)

> tip You can see how to bind the icon properties to e property of a business object in the [Data Binding example in the online SDK repository](https://github.com/telerik/xaml-sdk/tree/master/OutlookBar/DataBinding).

## See Also

* [Visual Structure](https://www.telerik.com/products/wpf/documentation/controls/radoutlookbar/visual-structure)
* [Templates](https://www.telerik.com/products/wpf/documentation/controls/radoutlookbar/features/templates)
* [Data Binding](https://www.telerik.com/products/wpf/documentation/controls/radoutlookbar/populating-with-data/databinding)
