Partial views, filling up UI
This commit is contained in:
@ -1,10 +1,35 @@
|
||||
<?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:partial="clr-namespace:AdventureWorks.MAUI.ViewsPartial"
|
||||
x:Class="AdventureWorks.MAUI.Views.LoginView"
|
||||
Title="Login">
|
||||
<Label Text="Login"
|
||||
FontSize="Large"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center" />
|
||||
|
||||
<Grid RowDefinitions="Auto, Auto, Auto, Auto"
|
||||
ColumnDefinitions="Auto, *"
|
||||
Style="{StaticResource Grid.Page}">
|
||||
|
||||
<partial:HeaderView Grid.Row="0"
|
||||
Grid.ColumnSpan="2"
|
||||
ViewTitle="Login"
|
||||
ViewDescription="Please enter your credentials to login." />
|
||||
|
||||
<Label Grid.Row="1"
|
||||
Text="Login ID" />
|
||||
<Entry Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Placeholder="Enter your username" />
|
||||
<Label Grid.Row="2"
|
||||
Text="Password" />
|
||||
<Entry Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Placeholder="Enter your password"
|
||||
IsPassword="True" />
|
||||
<Button Grid.Row="3"
|
||||
Grid.ColumnSpan="2"
|
||||
Text="Login"
|
||||
HorizontalOptions="Center" />
|
||||
</Grid>
|
||||
|
||||
|
||||
</ContentPage>
|
||||
Reference in New Issue
Block a user