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.Show(BottomSheetState, Element) Method

Invokes the bottom sheet. You can optionally specify the bottom sheet’s size and its parent element.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

#Declaration

C#
public void Show(
    BottomSheetState state = BottomSheetState.HalfExpanded,
    Element parent = null
)

#Optional Parameters

Name Type Default Description
state BottomSheetState HalfExpanded

Specifies the bottom sheet’s expanded state.

parent Element null

Specifies the bottom sheet’s parent element.

#Remarks

The following example expands the Bottom Sheet once a user changes the selected item in a CollectionView:

private void CollectionView_SelectionChanged(object sender, SelectionChangedEventArgs e) {
    bottomSheet.HalfExpandedRatio = 0.4;
    bottomSheet.Show(BottomSheetState.HalfExpanded);
}
See Also