Partial views, filling up UI
This commit is contained in:
@ -2,9 +2,81 @@
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="AdventureWorks.MAUI.Views.ProductDetailView"
|
||||
Title="Product Details">
|
||||
<Label Text="Product Details"
|
||||
FontSize="Large"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center" />
|
||||
xmlns:partial="clr-namespace:AdventureWorks.MAUI.ViewsPartial"
|
||||
Title="Product Information">
|
||||
|
||||
<Grid RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto"
|
||||
ColumnDefinitions="Auto, *"
|
||||
Style="{StaticResource Grid.Page}">
|
||||
|
||||
|
||||
<partial:HeaderView Grid.Row="0"
|
||||
Grid.ColumnSpan="2"
|
||||
ViewTitle="Product Information"
|
||||
ViewDescription="Use this Screen to Modify Product Information." />
|
||||
|
||||
<Label Grid.Row="1"
|
||||
Text="Product Name" />
|
||||
<Entry Grid.Row="1"
|
||||
Grid.Column="1" />
|
||||
<Label Grid.Row="2"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="2"
|
||||
Grid.Column="1" />
|
||||
<Label Grid.Row="3"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="3"
|
||||
Grid.Column="1" />
|
||||
<Label Grid.Row="4"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="4"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="5"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="5"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="6"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="6"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="7"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="7"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="8"
|
||||
Text="Xxx" />
|
||||
<Entry Grid.Row="8"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="9"
|
||||
Text="Model" />
|
||||
<Entry Grid.Row="9"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="10"
|
||||
Text="Selling Start Date" />
|
||||
<Entry Grid.Row="10"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="11"
|
||||
Text="Selling End Date" />
|
||||
<Entry Grid.Row="11"
|
||||
Grid.Column="1" />
|
||||
|
||||
<Label Grid.Row="12"
|
||||
Text="Discontinued Date" />
|
||||
<Entry Grid.Row="12"
|
||||
Grid.Column="1" />
|
||||
|
||||
<HorizontalStackLayout Grid.Row="13"
|
||||
Grid.ColumnSpan="1">
|
||||
<Button Text="Save" />
|
||||
<Button Text="Cancel" />
|
||||
</HorizontalStackLayout>
|
||||
</Grid>
|
||||
|
||||
</ContentPage>
|
||||
Reference in New Issue
Block a user