Skip to main content

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

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