<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCollectionView/ScrollPosition/trailingEdge",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSCollectionViewScrollPosition@NSCollectionViewScrollPositionTrailingEdge"
  },
  "title" : "trailingEdge"
}
-->

# trailingEdge

Scroll so that the trailing edge of the selected items’ bounding box is adjacent to the trailing edge of the collection view’s bounds. Use this option to support both left-to-right and right-to-left layouts appropriately. This option must not be combined with the [`left`](/documentation/AppKit/NSCollectionView/ScrollPosition/left), [`centeredHorizontally`](/documentation/AppKit/NSCollectionView/ScrollPosition/centeredHorizontally), [`right`](/documentation/AppKit/NSCollectionView/ScrollPosition/right), [`leadingEdge`](/documentation/AppKit/NSCollectionView/ScrollPosition/leadingEdge), or [`nearestVerticalEdge`](/documentation/AppKit/NSCollectionView/ScrollPosition/nearestVerticalEdge) options, but may be combined with other options.

```
static var trailingEdge: NSCollectionView.ScrollPosition { get }
```

---

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)