AutoCatUwp/AutoCat/Controls/ButtonCell.xaml

23 lines
991 B
XML

<UserControl
x:Class="AutoCat.Controls.ButtonCell"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AutoCat.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="80"
d:DesignWidth="500">
<Grid ColumnSpacing="8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock x:Name="TitleBox" Grid.Column="0" Text="Name" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="18"/>
<Button x:Name="ValueButton" Grid.Column="1" Content="Value" HorizontalAlignment="Right" VerticalAlignment="Stretch"
MinWidth="60" FontSize="18" Foreground="{StaticResource SystemBaseMediumColor}" Style="{ThemeResource ButtonRevealStyle}"/>
</Grid>
</UserControl>