---
title: CustomPresentationDetent.Context
framework: swiftui
role: symbol
role_heading: Type Alias
path: swiftui/custompresentationdetent/context
---

# CustomPresentationDetent.Context

Information that you can use to calculate the height of a custom detent.

## Declaration

```swift
typealias Context = PresentationDetent.Context
```

## See Also

### Getting the height

- [height(in:)](swiftui/custompresentationdetent/height(in:).md)
