-
Notifications
You must be signed in to change notification settings - Fork 492
Expand file tree
/
Copy pathOverflowingTitleViewPage.xaml
More file actions
48 lines (39 loc) · 1.54 KB
/
OverflowingTitleViewPage.xaml
File metadata and controls
48 lines (39 loc) · 1.54 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="CommunityToolkit.Maui.Sample.Pages.Behaviors.OverflowingTitleViewPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<Shell.TitleView>
<Grid BackgroundColor="Yellow">
<Label HorizontalOptions="Center" Text="TITLE VIEW" />
</Grid>
</Shell.TitleView>
<Grid RowDefinitions="auto, auto, *">
<Label Text="Top line" />
<VerticalStackLayout
Grid.Row="1"
Padding="30,0"
Spacing="25">
<Image
Aspect="AspectFit"
HeightRequest="185"
SemanticProperties.Description="dot net bot in a race car number eight"
Source="dotnet_bot.png" />
<Label SemanticProperties.HeadingLevel="Level1" Text="Hello, World!" />
<Label
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
SemanticProperties.HeadingLevel="Level2"
Text="Welcome to .NET Multi-platform App UI" />
<Button
Clicked="OnNavigateToMainPageButtonClicked"
HorizontalOptions="Fill"
SemanticProperties.Hint="Navigate to MainPage"
Text="Click me"
x:Name="CounterBtn" />
</VerticalStackLayout>
<Label
Grid.Row="2"
Text="Bottom"
VerticalOptions="End" />
</Grid>
</ContentPage>