Skip to main content

BottomSheet.IsModal Property

Gets or sets whether the Bottom Sheet is shown as modal. This means that the Bottom Sheet appears as a dialog page and remains on the screen until it is confirmed or dismissed. This is a bindable property.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

Declaration

public bool IsModal { get; set; }

Property Value

Type Default Description
Boolean True

true if the Bottom Sheet is shown as modal; otherwise, false.

Remarks

If a bottom sheet is invoked in modal mode, then content beside the bottom sheet is shown faded and a user cannot interact with this content.

The following markup enables modal mode for a bottom sheet:

<dxc:BottomSheet ...
                 IsModal="True">
    <!--...-->
</dxc:BottomSheet> 
See Also