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

C#
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