-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPayloadExchangePage.xaml
More file actions
48 lines (43 loc) · 1.64 KB
/
PayloadExchangePage.xaml
File metadata and controls
48 lines (43 loc) · 1.64 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
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="EntglDb.Test.Maui.PayloadExchangePage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
Title="Payload Exchange">
<ScrollView>
<VerticalStackLayout Padding="20" Spacing="15">
<Label
FontAttributes="Bold"
FontSize="Title"
Text="Send Payload" />
<Label FontSize="Medium" Text="Collection Name" />
<Entry
x:Name="CollectionEntry"
Placeholder="Enter collection name"
Text="test-collection" />
<Label FontSize="Medium" Text="JSON Payload" />
<Editor
x:Name="JsonEditor"
HeightRequest="200"
Placeholder="Enter JSON here"
Text="{}{"id": "1", "message": "Hello from MAUI", "timestamp": 0}" />
<Button
BackgroundColor="{StaticResource Primary}"
Clicked="OnSaveClicked"
Text="Save Document"
TextColor="White" />
<BoxView
Margin="0,10"
HeightRequest="1"
Color="Gray" />
<Label
FontAttributes="Bold"
FontSize="Medium"
Text="Status" />
<Label
x:Name="StatusLabel"
Text="Ready"
TextColor="Gray" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>