# How to use Type with Repeater control

**URL:** https://community.stadium.software/community/t/how-to-use-type-with-repeater-control/155
**Category:** How To
**Created:** [May 10, 2022, 8:18am UTC](https://community.stadium.software/community/t/how-to-use-type-with-repeater-control/155 "2022-05-10T08:18:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shamima](https://community.stadium.software/community/user_avatar/community.stadium.software/shamima/32/268_2.png) [@shamima](https://community.stadium.software/community/u/shamima)
#### Post date: [May 10, 2022, 8:18am UTC](https://community.stadium.software/community/t/how-to-use-type-with-repeater-control/155/1 "2022-05-10T08:18:54Z")

</div>

### Prerequisite: Complete tutorial [How to use the Repeater control](https://community.stadium.software/community/t/how-to-use-the-repeater-control/127)

With some simple modifications to the existing solution, we are now going to explore the use of [Types](https://stadium.software/docs/Features/Types) with [Repeaters](https://stadium.software/docs/Controls/Repeater)

1. Create a Type named **employee** with 3 fields,  
**FirstName** , **LastName** and **Photo**  

2. In the repeater properties, select the Listitem Type of the repeater as **employee**  

3. Now you will be able to see the ListItem in SetValue (within Repeater.ItemLoad) for the different controls inside the repeater.

 ![image](https://community.stadium.software/community/uploads/default/original/1X/19c4992b47b05c8649e7d16a077d049c767e8203.png)r

**Why do you need to use Types?**

Using Types with the repeater control gives you access to the properties of the type from within the Property Grid. Using Types will not only save you from typing the property name manually but maintenance will be easier also!

---

<div class="post-metadata">

### Author: ![shamima](https://community.stadium.software/community/user_avatar/community.stadium.software/shamima/32/268_2.png) [@shamima](https://community.stadium.software/community/u/shamima)
#### Post date: [May 10, 2022, 8:23am UTC](https://community.stadium.software/community/t/how-to-use-type-with-repeater-control/155/2 "2022-05-10T08:23:24Z")

</div>



---

<div class="post-metadata">

### Author: ![shamima](https://community.stadium.software/community/user_avatar/community.stadium.software/shamima/32/268_2.png) [@shamima](https://community.stadium.software/community/u/shamima)
#### Post date: [May 10, 2022, 12:32pm UTC](https://community.stadium.software/community/t/how-to-use-type-with-repeater-control/155/3 "2022-05-10T12:32:07Z")

</div>


