<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSCollectionLayoutSectionOrthogonalScrollingBehavior"
  },
  "title" : "NSCollectionLayoutSectionOrthogonalScrollingBehavior"
}
-->

# NSCollectionLayoutSectionOrthogonalScrollingBehavior

The scrolling behavior of the layout’s sections in relation to the main layout axis.

```
enum NSCollectionLayoutSectionOrthogonalScrollingBehavior
```

## Overview

By default, each section lays out its content along the main axis of its layout, defined by the layout configuration’s [`scrollDirection`](/documentation/AppKit/NSCollectionViewCompositionalLayoutConfiguration/scrollDirection) property. You can change this behavior for a particular section by setting its [`orthogonalScrollingBehavior`](/documentation/AppKit/NSCollectionLayoutSection/orthogonalScrollingBehavior) property to a different value than its default [`NSCollectionLayoutSectionOrthogonalScrollingBehavior.none`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/none). Setting any other value for this property makes the section lay out its content orthogonally to the main layout axis.

## Topics

### Enumeration Cases

[`case none`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/none)

The section does not allow users to scroll its content orthogonally.

[`case continuous`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/continuous)

The section allows users to scroll its content orthogonally with continuous scrolling.

[`case continuousGroupLeadingBoundary`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/continuousGroupLeadingBoundary)

The section allows users to scroll its content orthogonally, coming to a natural stop at the leading boundary of the visible group.

[`case paging`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/paging)

The section allows users to page its content orthogonally.

[`case groupPaging`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/groupPaging)

The section allows users to page its content orthogonally one group at a time.

[`case groupPagingCentered`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/groupPagingCentered)

The section allows users to page its content orthogonally one group at a time, centering each group.

### Initializers

[`init?(rawValue: Int)`](/documentation/AppKit/NSCollectionLayoutSectionOrthogonalScrollingBehavior/init(rawValue:))

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)