Binding vehicle details
This commit is contained in:
parent
f1c9711746
commit
a622c84467
Binary file not shown.
Binary file not shown.
@ -5,7 +5,7 @@
|
||||
xmlns:model="using:AutoCatCore.Model">
|
||||
|
||||
<DataTemplate x:Key="VehicleDetailTemplate" x:DataType="model:Vehicle">
|
||||
<Grid Margin="16">
|
||||
<Grid Margin="16" RowSpacing="16">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
@ -13,9 +13,10 @@
|
||||
|
||||
<StackPanel Orientation="Horizontal" Background="Coral" Spacing="8">
|
||||
<Image Source="{Binding Brand.Logo}" Height="50"/>
|
||||
<TextBlock Text="{Binding Brand.Name.Original}" FontSize="24" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<TextBlock Text="{Binding Brand.Name.Original}" FontSize="24" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
</ResourceDictionary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user