---
title: shouldIndentWhileEditing
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitableviewcell/shouldindentwhileediting
---

# shouldIndentWhileEditing

A Boolean value that controls whether the cell background is indented when the table view is in editing mode.

## Declaration

```swift
var shouldIndentWhileEditing: Bool { get set }
```

## Discussion

Discussion The default value is true. This property is unrelated to indentationLevel. The delegate can override this value in tableView(_:shouldIndentWhileEditingRowAt:). This property has an effect only on table views created in the grouped style (UITableView.Style.grouped); it has no effect on UITableView.Style.plain table views.

## See Also

### Managing content indentation

- [indentationLevel](uikit/uitableviewcell/indentationlevel.md)
- [indentationWidth](uikit/uitableviewcell/indentationwidth.md)
- [separatorInset](uikit/uitableviewcell/separatorinset.md)
- [UITableViewCell.SeparatorStyle](uikit/uitableviewcell/separatorstyle.md)
