Skip to main content

BottomSheet.HalfExpandedRatio Property

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

Declaration

public double HalfExpandedRatio { get; set; }

Property Value

Type Default Description
Double 0.5

The ratio of the bottom sheet height to the app’s full screen height.

Remarks

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
DevExpress Bottom Sheet for MAUI - Half Expanded Ratio - 0.3 DevExpress Bottom Sheet for MAUI - Half Expanded Ratio - 0.3
<dxc:BottomSheet ...
                 HalfExpandedRatio="0.3">
    <!--...-->
</dxc:BottomSheet>
See Also