Обновить works/lab-01/Readme.md

This commit is contained in:
zxc
2026-10-29 10:56:18 +00:00
parent 5fbbd2e528
commit 07907c3f2f
+3 -22
View File
@@ -1,4 +1,4 @@
<Grid Margin="20">
<Grid Margin="20">
<Grid.RowDefinitions>
<!-- Верхняя панель (Поиск, Сортировка, Фильтрация) -->
<RowDefinition Height="Auto"/>
@@ -23,30 +23,11 @@
<ComboBox Grid.Column="1"
PlaceholderText="Сортировка"
Width="150"
Margin="0,0,10,0"/>
Margin="2"/>
<ComboBox Grid.Column="2"
PlaceholderText="Фильтрация"
Width="150"/>
</Grid>
<!-- 2. Список продуктов (пустой) -->
<ListView Grid.Row="1" x:Name="ProductsListView">
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
<Setter Property="Margin" Value="0,0,0,10"/>
</Style>
</ListView.ItemContainerStyle>
</ListView>
<!-- 3. Панель пагинации (снизу справа) -->
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0" Spacing="8">
<Button Content="&lt;" Width="30" Height="30"/>
<Button Content="1" Width="30" Height="30" Background="#007ACC" Foreground="White"/>
<Button Content="2" Width="30" Height="30"/>
<Button Content="3" Width="30" Height="30"/>
<Button Content="4" Width="30" Height="30"/>
<Button Content="&gt;" Width="30" Height="30"/>
</StackPanel>
</Grid>
</Grid>