maui-devexpress-dot-maui-dot-controls-dot-bottomsheet.md
Gets or sets how much space of the full screen height the bottom sheet occupies in a HalfExpanded state. This value should be in the 0 to 1 range. This is a bindable property.
Namespace : DevExpress.Maui.Controls
Assembly : DevExpress.Maui.Controls.dll
NuGet Package : DevExpress.Maui.Controls
public double HalfExpandedRatio { get; set; }
| Type | Default | Description |
|---|---|---|
| Double | 0.5 |
The ratio of the bottom sheet height to the app’s full screen height.
|
Use the HalfExpandedRatio property to specify the height of the bottom sheet in a HalfExpanded state.
The following images show a bottom sheet with different HalfExpandedRatio property values:
| HalfExpandedRatio = 0.3 | HalfExpandedRatio = 0.7 |
|---|---|
<dxc:BottomSheet ...
HalfExpandedRatio="0.3">
<!--...-->
</dxc:BottomSheet>
The HalfExpandedRatio property value is in effect for iOS 16 and later. In earlier versions, the HalfExpandedRatio value is always 0.5.
See Also