forked from VladislavAntonyuk/MauiSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
27 lines (22 loc) · 859 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
25
26
<?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:mauiMarkdown="clr-namespace:MauiMarkdown"
x:Class="MauiMarkdown.MainPage">
<Grid RowDefinitions="*,10,*"
RowSpacing="10">
<Editor
Grid.Row="0"
x:Name="Editor"/>
<BoxView
Grid.Row="1"
HeightRequest="10"/>
<mauiMarkdown:MarkdownGraphicsView
x:DataType="Editor"
Grid.Row="2"
BindingContext="{Binding Source={x:Reference Editor}}"
Text="{Binding Text}"
FontColor="{Binding TextColor}"
FontSize="{Binding FontSize}"/>
</Grid>
</ContentPage>