maui-devexpress-dot-maui-dot-controls-dot-bottomsheet-a6db5bb1.md
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
public BottomSheetAllowedState AllowedState { get; set; }
| 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).
|
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