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.AllowedState Property

Specifies whether the bottom sheet can be fully expanded, half expanded, or both. This is a bindable property.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

#Declaration

C#
public BottomSheetAllowedState AllowedState { get; set; }

#Property Value

Type Description
BottomSheetAllowedState

A value that specifies the allowed bottom sheet state.

Available values:

Name Description
FullExpanded

A bottom sheet can only be shown in full-screen mode (FullExpanded state).

HalfExpanded

A bottom sheet can only be shown in half-screen mode (HalfExpanded state).

All

A bottom sheet can be shown in full-screen mode (FullExpanded state) and half-screen mode (HalfExpanded state).

#Remarks

The following markup allows a user to show the bottom sheet on half of the screen only. A user cannot maximize this bottom sheet to the full screen:

<dxc:BottomSheet ...
                 HalfExpandedRatio="0.5"
                 AllowedState="HalfExpanded">
</dxc:BottomSheet>
See Also