forked from VladislavAntonyuk/MauiSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPopupTutorial.xaml
23 lines (19 loc) · 1.02 KB
/
PopupTutorial.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="utf-8" ?>
<mct:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mct="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
x:Class="TutorialHelp.PopupTutorial"
Color="Transparent"
CanBeDismissedByTappingOutsideOfPopup="False">
<Grid RowDefinitions="96, *,60" BackgroundColor="Transparent">
<HorizontalStackLayout Grid.Row="0" HorizontalOptions="End">
<Label Text="Open help" VerticalOptions="Center"/>
<Rectangle WidthRequest="55" HeightRequest="55" Opacity="0.5" BackgroundColor="Red" />
</HorizontalStackLayout>
<VerticalStackLayout Grid.Row="1">
<Rectangle WidthRequest="90" HeightRequest="40" Opacity="0.5" HorizontalOptions="Center" BackgroundColor="Red"/>
<Label Text="By clicking this magic button you can increment the counter" HorizontalOptions="Center"/>
</VerticalStackLayout>
<Button Grid.Row="2" Text="Close" Clicked="Button_Clicked"/>
</Grid>
</mct:Popup>