-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBasicPopup.xaml
More file actions
34 lines (30 loc) · 1.35 KB
/
BasicPopup.xaml
File metadata and controls
34 lines (30 loc) · 1.35 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
<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
xmlns:vm="clr-namespace:PopupV2NavigationWithParameters"
x:Class="PopupV2NavigationWithParameters.BasicPopup"
x:DataType="vm:BasicPopupVm"
HorizontalOptions="Center"
VerticalOptions="Center">
<Grid RowDefinitions="auto,auto,auto"
WidthRequest="200"
HeightRequest="200"
RowSpacing="10">
<Label Grid.Row="0"
TextColor="Black"
Text="{Binding Title, Mode=OneWay}" />
<Label Grid.Row="1"
TextColor="Black"
Text="{Binding Message, Mode=OneWay}" />
<Grid Grid.Row="2"
ColumnDefinitions="*,*"
ColumnSpacing="5">
<Button Grid.Column="0"
Text="Cancel"
Command="{Binding CloseCommand, Mode=OneTime}" />
<Button Grid.Column="1"
Text="Confirm"
Command="{Binding CloseCommand, Mode=OneTime}" />
</Grid>
</Grid>
</toolkit:Popup>