-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathBottomSheetSamples.xaml
More file actions
36 lines (32 loc) · 2.25 KB
/
BottomSheetSamples.xaml
File metadata and controls
36 lines (32 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml
version="1.0"
encoding="utf-8"?>
<dui:ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:dui="http://dips.com/mobile.ui"
xmlns:sheets="clr-namespace:Components.ComponentsSamples.BottomSheets.Sheets"
xmlns:localizedStrings="clr-namespace:Components.Resources.LocalizedStrings"
x:Class="Components.ComponentsSamples.BottomSheets.BottomSheetSamples">
<dui:VerticalStackLayout Spacing="0"
Margin="{dui:Thickness Left=content_margin_medium, Right=content_margin_medium, Top=content_margin_large}"
dui:Layout.AutoCornerRadius="True"
VerticalOptions="Start">
<dui:NavigationListItem Title="{x:Static localizedStrings:LocalizedStrings.BottomSheet_Open}"
HasBottomDivider="True"
Command="{dui:OpenBottomSheetCommand {x:Type sheets:SimpleBottomSheetView}}"
VerticalOptions="Start" />
<dui:NavigationListItem Title="{x:Static localizedStrings:LocalizedStrings.BottomSheet_OpenWithBottomBars}"
Command="{dui:OpenBottomSheetCommand {x:Type sheets:BottomSheetWithBottomBar}}"
VerticalOptions="Start"
HasBottomDivider="True"/>
<dui:NavigationListItem Title="{x:Static localizedStrings:LocalizedStrings.BottomSheet}"
Subtitle="{x:Static localizedStrings:LocalizedStrings.BottomSheet_OpenNotClosableInteracting}"
Command="{dui:OpenBottomSheetCommand {x:Type sheets:BottomSheetNotClosableByInteracting}}"
VerticalOptions="Start"
HasBottomDivider="True" />
<dui:NavigationListItem Title="Open with search"
Subtitle="BottomSheet with native search field"
Command="{dui:OpenBottomSheetCommand {x:Type sheets:BottomSheetWithSearch}}"
VerticalOptions="Start" />
</dui:VerticalStackLayout>
</dui:ContentPage>