-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPopupWithInitReturnable.xaml
More file actions
36 lines (31 loc) · 1.48 KB
/
PopupWithInitReturnable.xaml
File metadata and controls
36 lines (31 loc) · 1.48 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
<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.PopupWithInitReturnable"
x:DataType="vm:PopupWithInitReturnableVm"
x:TypeArguments="vm:PopupWithInitReturnable_ReturnData"
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 NegativeAnswerCommand, Mode=OneTime}" />
<Button Grid.Column="1"
Text="Confirm"
Command="{Binding PositiveAnwerCommand, Mode=OneTime}" />
</Grid>
</Grid>
</toolkit:Popup>