2019-01-14 20:10:05 +01:00
|
|
|
<UserControl
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
x:Class="Magazyn.Views.FruitView"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:local="clr-namespace:Magazyn.Views"
|
|
|
|
mc:Ignorable="d" Height="64" Width="520">
|
|
|
|
|
|
|
|
|
2019-01-22 17:35:51 +01:00
|
|
|
<materialDesign:Card Background="{DynamicResource SecondaryAccentBrush}">
|
|
|
|
<Grid>
|
2019-01-14 20:10:05 +01:00
|
|
|
<Image Name="fruitImage" HorizontalAlignment="Left" Margin="10,10,0,7" Width="50"/>
|
|
|
|
<TextBlock Name="fruitName" HorizontalAlignment="Left" Margin="80,26,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="116"/>
|
2019-01-15 17:53:09 +01:00
|
|
|
<Image Name="minusImage" HorizontalAlignment="Left" Height="24" Margin="240,25,0,0" VerticalAlignment="Top" Width="24" Source="/Images/minus.png" MouseDown="subButton_Click" />
|
|
|
|
<Image Name="plusImage" HorizontalAlignment="Left" Height="24" Margin="304,25,0,0" VerticalAlignment="Top" Width="24" Source="/Magazyn;component/Images/plus.png" RenderTransformOrigin="0.208,0.521" MouseDown="addButton_Click"/>
|
|
|
|
<TextBlock Name="fruitAmount" HorizontalAlignment="Left" Margin="267,29,0,19" Width="34" TextAlignment="Center" RenderTransformOrigin="0.489,-0.623"/>
|
2019-01-14 20:10:05 +01:00
|
|
|
<TextBlock Name="fruitPrice" Margin="362,26,106,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" IsEnabled="False"/>
|
|
|
|
<TextBlock x:Name="allPrice" Margin="425,26,43,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</materialDesign:Card>
|
|
|
|
|
|
|
|
<!--<Grid>
|
2019-01-13 16:36:26 +01:00
|
|
|
<TextBlock x:Name="fruitName" HorizontalAlignment="Left" Margin="69,0,0,48" TextWrapping="Wrap" Text="fruitName" Width="72"/>
|
|
|
|
<Button x:Name="subButton" BorderThickness="0" Padding="0" HorizontalAlignment="Left" Margin="138,21,0,27" Width="16" Click="subButton_Click" Background="{x:Null}">
|
|
|
|
<Image Source="..\Images\sub.png" Stretch="Fill"/>
|
|
|
|
</Button>
|
|
|
|
<Button x:Name="addButton" BorderThickness="0" Padding="0" HorizontalAlignment="Left" Margin="180,21,0,27" Width="16" Click="addButton_Click" Background="{x:Null}">
|
|
|
|
<Image Source="..\Images\add.png"/>
|
|
|
|
</Button>
|
|
|
|
<TextBlock x:Name="fruitAmount" HorizontalAlignment="Left" Margin="159,21,0,27" TextWrapping="Wrap" Text="-1" TextAlignment="Center" Width="16"/>
|
2019-01-13 18:05:47 +01:00
|
|
|
<TextBlock x:Name="fruitPrice" HorizontalAlignment="Left" Margin="69,21,0,27" TextWrapping="Wrap" Text="fruitPrice" Width="64"/>
|
2019-01-13 16:36:26 +01:00
|
|
|
<Image x:Name="imges" HorizontalAlignment="Left" Height="64" VerticalAlignment="Top" Width="64"/>
|
|
|
|
<TextBlock x:Name="allPrice" HorizontalAlignment="Left" Margin="206,48,0,0" TextWrapping="Wrap" Text="allPrice" TextAlignment="Center" VerticalAlignment="Top" Width="48"/>
|
|
|
|
|
2019-01-14 20:10:05 +01:00
|
|
|
</Grid>-->
|
2019-01-13 16:36:26 +01:00
|
|
|
</UserControl>
|