---
title: indentationLevel
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewlistcell/indentationlevel
---

# indentationLevel

The level of indentation for the cell.

## Declaration

```swift
var indentationLevel: Int { get set }
```

## Discussion

Discussion The indentation level sets automatically when you use a hierarchical data source, such as an NSDiffableDataSourceSectionSnapshot.

## See Also

### Customizing layout

- [indentationWidth](uikit/uicollectionviewlistcell/indentationwidth.md)
- [indentsAccessories](uikit/uicollectionviewlistcell/indentsaccessories.md)
- [separatorLayoutGuide](uikit/uicollectionviewlistcell/separatorlayoutguide.md)
