---
title: UICollectionViewFlowLayout.SectionInsetReference.fromLayoutMargins
framework: uikit
role: symbol
role_heading: Case
path: uikit/uicollectionviewflowlayout/sectioninsetreference-swift.enum/fromlayoutmargins
---

# UICollectionViewFlowLayout.SectionInsetReference.fromLayoutMargins

Section insets are defined in relation to the margins of the layout.

## Declaration

```swift
case fromLayoutMargins
```

## See Also

### Constants

- [UICollectionViewFlowLayout.SectionInsetReference.fromContentInset](uikit/uicollectionviewflowlayout/sectioninsetreference-swift.enum/fromcontentinset.md)
- [UICollectionViewFlowLayout.SectionInsetReference.fromSafeArea](uikit/uicollectionviewflowlayout/sectioninsetreference-swift.enum/fromsafearea.md)
