---
title: axesPreservingSuperviewLayoutMargins
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilistcontentconfiguration-swift.struct/axespreservingsuperviewlayoutmargins
---

# axesPreservingSuperviewLayoutMargins

A Boolean value that determines whether the content view preserves the layout margins that it inherits from its superview on the horizontal or vertical axes.

## Declaration

```swift
var axesPreservingSuperviewLayoutMargins: UIAxis { get set }
```

## Discussion

Discussion By default, the content view preserves the layout margins of its superview on both axes.

## See Also

### Customizing layout

- [directionalLayoutMargins](uikit/uilistcontentconfiguration-swift.struct/directionallayoutmargins.md)
- [prefersSideBySideTextAndSecondaryText](uikit/uilistcontentconfiguration-swift.struct/preferssidebysidetextandsecondarytext.md)
- [imageToTextPadding](uikit/uilistcontentconfiguration-swift.struct/imagetotextpadding.md)
- [textToSecondaryTextHorizontalPadding](uikit/uilistcontentconfiguration-swift.struct/texttosecondarytexthorizontalpadding.md)
- [textToSecondaryTextVerticalPadding](uikit/uilistcontentconfiguration-swift.struct/texttosecondarytextverticalpadding.md)
