---
title: trailingEdge
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nscollectionview/scrollposition/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, centeredHorizontally, right, leadingEdge, or nearestVerticalEdge options, but may be combined with other options.

## Declaration

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

## See Also

### Constants

- [top](appkit/nscollectionview/scrollposition/top.md)
- [centeredVertically](appkit/nscollectionview/scrollposition/centeredvertically.md)
- [bottom](appkit/nscollectionview/scrollposition/bottom.md)
- [nearestHorizontalEdge](appkit/nscollectionview/scrollposition/nearesthorizontaledge.md)
- [left](appkit/nscollectionview/scrollposition/left.md)
- [centeredHorizontally](appkit/nscollectionview/scrollposition/centeredhorizontally.md)
- [right](appkit/nscollectionview/scrollposition/right.md)
- [leadingEdge](appkit/nscollectionview/scrollposition/leadingedge.md)
- [nearestVerticalEdge](appkit/nscollectionview/scrollposition/nearestverticaledge.md)
