BuildFeed/Mobile/BuildFeedApp-Full/DetailsRow.xaml

20 lines
828 B
XML

<UserControl
x:Class="BuildFeedApp.DetailsRow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:BuildFeedApp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" x:Name="detailsRow">
<Grid Margin="40,20">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="12" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" TextAlignment="Right" Text="{Binding Label, ElementName=detailsRow}" />
<TextBlock Grid.Column="2" Text="{Binding Value, ElementName=detailsRow}" />
</Grid>
</UserControl>