1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <ContentPage xmlns =" http://schemas.microsoft.com/dotnet/2021/maui"
3+ xmlns : x =" http://schemas.microsoft.com/winfx/2009/xaml"
4+ x : Class =" PhotoGallery.ImagePage"
5+ xmlns : effects =" clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"
6+ xmlns : local =" clr-namespace:PhotoGallery"
7+ Title =" {Binding DateTime, StringFormat='{0:d MMM yyyy, h.mm tt}'}" >
8+
9+ <ContentPage .Resources>
10+ <ResourceDictionary >
11+ <local : FavoriteToIconConverter x : Key =" FavoriteToIconConverter" />
12+ </ResourceDictionary >
13+ </ContentPage .Resources>
14+
15+ <Grid RowDefinitions =" *,60" >
16+ <Image Source =" {Binding Image}" Aspect =" AspectFit" />
17+ <HorizontalStackLayout VerticalOptions =" End" Spacing =" 10" HorizontalOptions =" Center" >
18+
19+ <Border StrokeThickness =" 0" HeightRequest =" 60" WidthRequest =" 60" >
20+ <Border .StrokeShape>
21+ <RoundRectangle CornerRadius =" 25" />
22+ </Border .StrokeShape>
23+ <effects : SfEffectsView TouchDownEffects =" Highlight" >
24+ <effects : SfEffectsView .GestureRecognizers>
25+ <TapGestureRecognizer Tapped =" OnShareTapped" />
26+ </effects : SfEffectsView .GestureRecognizers>
27+ <VerticalStackLayout HorizontalOptions =" Center" VerticalOptions =" Center" >
28+ <Label Text ="  " FontFamily =" PhotoGallery" FontSize =" 24" HorizontalOptions =" Center" />
29+ <Label Text =" Share" />
30+ </VerticalStackLayout >
31+ </effects : SfEffectsView >
32+ </Border >
33+
34+ <Border StrokeThickness =" 0" HeightRequest =" 60" WidthRequest =" 60" >
35+ <Border .StrokeShape>
36+ <RoundRectangle CornerRadius =" 25" />
37+ </Border .StrokeShape>
38+ <effects : SfEffectsView TouchDownEffects =" Highlight" >
39+ <effects : SfEffectsView .GestureRecognizers>
40+ <TapGestureRecognizer Tapped =" OnFavoriteTapped" />
41+ </effects : SfEffectsView .GestureRecognizers>
42+ <VerticalStackLayout HorizontalOptions =" Center" VerticalOptions =" Center" >
43+ <Label Text =" {Binding IsFavorite, Converter={StaticResource FavoriteToIconConverter}}"
44+ FontFamily =" PhotoGallery" FontSize =" 24" HorizontalOptions =" Center" />
45+ <Label Text =" Favorite" />
46+ </VerticalStackLayout >
47+ </effects : SfEffectsView >
48+ </Border >
49+
50+ <Border StrokeThickness =" 0" HeightRequest =" 60" WidthRequest =" 60" >
51+ <Border .StrokeShape>
52+ <RoundRectangle CornerRadius =" 25" />
53+ </Border .StrokeShape>
54+ <effects : SfEffectsView TouchDownEffects =" Highlight" >
55+ <effects : SfEffectsView .GestureRecognizers>
56+ <TapGestureRecognizer Tapped =" OnEditTapped" />
57+ </effects : SfEffectsView .GestureRecognizers>
58+ <VerticalStackLayout HorizontalOptions =" Center" VerticalOptions =" Center" >
59+ <Label Text ="  " FontFamily =" PhotoGallery" FontSize =" 24" HorizontalOptions =" Center" />
60+ <Label Text =" Edit" />
61+ </VerticalStackLayout >
62+ </effects : SfEffectsView >
63+ </Border >
64+
65+ <Border StrokeThickness =" 0" HeightRequest =" 60" WidthRequest =" 60" >
66+ <Border .StrokeShape>
67+ <RoundRectangle CornerRadius =" 25" />
68+ </Border .StrokeShape>
69+ <effects : SfEffectsView TouchDownEffects =" Highlight" >
70+ <effects : SfEffectsView .GestureRecognizers>
71+ <TapGestureRecognizer Tapped =" OnDeleteTapped" />
72+ </effects : SfEffectsView .GestureRecognizers>
73+ <VerticalStackLayout HorizontalOptions =" Center" VerticalOptions =" Center" >
74+ <Label Text ="  " FontFamily =" PhotoGallery" FontSize =" 24" HorizontalOptions =" Center" />
75+ <Label Text =" Delete" />
76+ </VerticalStackLayout >
77+ </effects : SfEffectsView >
78+ </Border >
79+
80+ </HorizontalStackLayout >
81+ </Grid >
82+ </ContentPage >
0 commit comments