Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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