Detent
A height where a modal sheet may rest.
- Kind: Record struct
- Namespace: SkeleKit
- Implements:
IEquatable<Detent>
Methods
Fraction
A fraction of the sheet's available height.
| Parameter | Summary |
|---|---|
double fraction | A value greater than 0 and no greater than 1. |
Returns
Detent: The proportional detent.
Exceptions
ArgumentOutOfRangeException:fractionis not finite or between 0 and 1.
Height
A fixed height in points, clamped to the sheet's available height.
| Parameter | Summary |
|---|---|
double height | The height in points. |
Returns
Detent: The fixed-height detent.
Exceptions
ArgumentOutOfRangeException:heightis not finite or greater than zero.
Fields
Content
The page's measured content and navigation chrome, updated as layout changes and capped at the available height.
Type: Detent
Large
The system full height.
Type: Detent
Medium
The system medium height.
Type: Detent