Struct ScaffoldSheetDetent
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
One resting height of a bottom sheet. Create via Content (the sheet hugs its content's measured height), Fraction(double) (of the available presentation height) or Height(double) (absolute device-independent units). Every form is clamped to the available height.
public readonly struct ScaffoldSheetDetent
- Inherited Members
Properties
Content
A detent hugging the sheet content's measured height.
public static ScaffoldSheetDetent Content { get; }
Property Value
Methods
Fraction(double)
A detent at the given fraction (0..1) of the available height (window minus the top system inset).
public static ScaffoldSheetDetent Fraction(double fraction)
Parameters
fractiondouble
Returns
Height(double)
A detent at the given absolute height in device-independent units.
public static ScaffoldSheetDetent Height(double height)
Parameters
heightdouble