Skip to main content
A newer version of this page is available. .

BottomSheet.AllowDismiss Property

Gets or sets whether a user can hide the bottom sheet with a swipe-down gesture. This is a bindable property.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

Declaration

public bool AllowDismiss { get; set; }

Property Value

Type Default Description
Boolean True

true if users can swipe down the bottom sheet to dismiss it; otherwise, false.

Remarks

The following markup allows users to swipe a bottom sheet down to close it:

<dxc:BottomSheet ...
                 AllowDismiss="True">
</dxc:BottomSheet>

To programmatically close the bottom sheet, set its BottomSheet.State property to Hidden.

See Also