123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <Page x:Class="SneakersSkakunov.Sneaker"
- 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:SneakersSkakunov"
- mc:Ignorable="d"
- d:DesignHeight="720" d:DesignWidth="1080"
- Title="Sneaker">
- <Grid Background="#f5f5f5">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="60"></RowDefinition>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0">
- <ListView Name="SneakerList" Background="#dbdbdb" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
- <ListView.ItemsPanel>
- <ItemsPanelTemplate>
- <WrapPanel HorizontalAlignment="Center"></WrapPanel>
- </ItemsPanelTemplate>
- </ListView.ItemsPanel>
- <ListView.ItemTemplate>
- <DataTemplate>
- <Border Padding="5" CornerRadius="15" BorderThickness="2" BorderBrush="#292929" Background="{Binding ColorSneak}">
- <Grid Width="350" Height="350" >
- <StackPanel>
- <Image Width="200" Height="150" Source="NetFoto.png"></Image>
- <TextBlock Uid="{Binding Brand.id_Brand}" Loaded="brands"></TextBlock>
- <TextBlock Uid="{Binding id_Sneakers}" Loaded="models"></TextBlock>
- <TextBlock Uid="{Binding id_Sneakers}" Loaded="Colors"></TextBlock>
- <TextBlock Uid="{Binding id_Sneakers}" Loaded="prices"></TextBlock>
- <TextBlock Uid="{Binding id_Sneakers}" Loaded="Date"></TextBlock>
- <TextBlock Uid="{Binding Cheque.Date_of_formation, StringFormat={}dd.MM.yyyy}"></TextBlock>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Background="White" Width="90" Height="20" Margin="0,5,0,0">
- <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Content="Редактировать" Uid="{Binding id_Sneakers}"></Button>
- </Border>
- <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Background="White" Width="90" Height="20" Margin="10,5,0,0">
- <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Content="Удалить" Uid="{Binding id_Sneakers}" Click="Delete"></Button>
- </Border>
- </StackPanel>
- </StackPanel>
- </Grid>
- </Border>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </StackPanel>
- <StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10">
- <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Width="90" Height="20">
- <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Click="Revert" Content="Вернуться" Margin="0,-1,0,1"/>
- </Border>
- <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Width="90" Height="20" Margin="10,0,0,0">
- <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Click="Addendum" Content="Добавить" Margin="0,-1,0,1"/>
- </Border>
- </StackPanel>
- </Grid>
- </Page>
|