-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
24 lines (20 loc) · 997 Bytes
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:components="clr-namespace:imago.Components"
xmlns:viewModels="clr-namespace:imago.ViewModels"
x:DataType="viewModels:ImageViewModel"
x:Class="imago.MainPage">
<Grid BackgroundColor="{DynamicResource Secondary}">
<components:ImageSelector IsVisible="{Binding IsImageVisible, Converter={StaticResource InvertBooleanConverter}}" />
<Grid
IsVisible="{Binding IsImageVisible}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="300" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<components:ConfigurationPanel Grid.Column="0" />
<components:ImageViewer Grid.Column="1"></components:ImageViewer>
</Grid>
</Grid>
</ContentPage>