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 |
---|---|
Bottom |
A value that specifies the allowed bottom sheet state. |
Available values:
Name | Description |
---|---|
Full |
A bottom sheet can only be shown in full-screen mode (Full |
Half |
A bottom sheet can only be shown in half-screen mode (Half |
All | A bottom sheet can be shown in full-screen mode (Full |
#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>