---
title: representedElementCategory
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewlayoutattributes/representedelementcategory
---

# representedElementCategory

The type of the item.

## Declaration

```swift
var representedElementCategory: UICollectionView.ElementCategory { get }
```

## Discussion

Discussion You can use the value in this property to distinguish whether the layout attributes are intended for a cell, supplementary view, or decoration view.

## See Also

### Identifying the referenced item

- [indexPath](uikit/uicollectionviewlayoutattributes/indexpath.md)
- [representedElementKind](uikit/uicollectionviewlayoutattributes/representedelementkind.md)
- [UICollectionView.ElementCategory](uikit/uicollectionview/elementcategory.md)
