1234567891011121314151617181920212223242526272829303132333435 |
- <Window x:Class="TestApp.Basket"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:TestApp"
- mc:Ignorable="d"
- Title="Basket" Height="450" Width="800">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="10*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <ListView Grid.Row="0" Name="VivodKorzini">
- <ListView.ItemsPanel>
- <ItemsPanelTemplate>
- <WrapPanel Orientation="Vertical"/>
- </ItemsPanelTemplate>
- </ListView.ItemsPanel>
- <ListView.ItemTemplate>
- <DataTemplate>
- <Border>
- <StackPanel>
- <TextBlock Text="{Binding ProductName}"/>
- <TextBlock Text="{Binding ProductQunatityInBasket}"/>
- </StackPanel>
- </Border>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- <Button Grid.Row="1" Click="ToCheck" Content="Оформить заказ"/>
- </Grid>
- </Window>
|