---
title: shouldExpandItemHandler
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewdiffabledatasourcesectionsnapshothandlers/shouldexpanditemhandler
---

# shouldExpandItemHandler

The handler that determines whether a particular item is expandable.

## Declaration

```occ
@property (nonatomic, copy, nullable) BOOL (^shouldExpandItemHandler)(ItemType );
```

## See Also

### Expanding and collapsing items

- [shouldCollapseItemHandler](uikit/uicollectionviewdiffabledatasourcesectionsnapshothandlers/shouldcollapseitemhandler.md)
- [willCollapseItemHandler](uikit/uicollectionviewdiffabledatasourcesectionsnapshothandlers/willcollapseitemhandler.md)
- [willExpandItemHandler](uikit/uicollectionviewdiffabledatasourcesectionsnapshothandlers/willexpanditemhandler.md)
- [snapshotForExpandingParentItemHandler](uikit/uicollectionviewdiffabledatasourcesectionsnapshothandlers/snapshotforexpandingparentitemhandler.md)
