Back to Devexpress

BottomSheet.IsModal Property

maui-devexpress-dot-maui-dot-controls-dot-bottomsheet-551462c6.md

latest1.3 KB
Original Source

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

csharp
public bool IsModal { get; set; }

Property Value

TypeDefaultDescription
BooleanTrue

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:

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

See Also

BottomSheet Class

BottomSheet Members

DevExpress.Maui.Controls Namespace