-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHomePage.xaml
More file actions
55 lines (45 loc) · 1.85 KB
/
HomePage.xaml
File metadata and controls
55 lines (45 loc) · 1.85 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
49
50
51
52
53
54
<?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:mauisample="clr-namespace:MauiSample"
x:DataType="mauisample:HomePageViewModel"
x:Class="MauiSample.HomePage">
<ScrollView>
<VerticalStackLayout
Spacing="8"
Padding="16,0"
VerticalOptions="Fill">
<Label
Text="Channel ID"
FontSize="18"
Margin="0,108,0,0"
FontAttributes="Bold" />
<Label
HorizontalOptions="Center"
Margin="0,0,0,64"
Text="{Binding ChannelId, TargetNullValue='null'}"
FontFamily="RobotoMonoRegular"
TextColor="#212121">
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding OnChannelIdClicked}" CommandParameter="null"/>
</Label.GestureRecognizers>
</Label>
<Button
x:Name="EnablePushButton"
Text="Enable push"
IsVisible="{Binding ShowEnablePushButton}"
HorizontalOptions="Center"
Command="{Binding OnEnablePushButtonClicked}" />
<Button
x:Name="MessageCenterButton"
Text="Show Default Message Center"
HorizontalOptions="Center"
Command="{Binding OnMessageCenterButtonClicked}" />
<Button
x:Name="PrefCenterButton"
Text="Show Preference Center"
HorizontalOptions="Center"
Command="{Binding OnPrefCenterButtonClicked}" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>