12345678910111213141516171819202122232425262728293031 |
- <Window x:Class="WpfApp2.MainWindow"
- 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:WpfApp2"
- mc:Ignorable="d"
- Title="Musical Store" Height="450" Width="800">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal" Margin="10">
- <Label Content="Фильтр:" VerticalAlignment="Center" />
- <ComboBox x:Name="FilterComboBox" SelectionChanged="FilterComboBox_SelectionChanged" Margin="10" />
- </StackPanel>
- <ListView x:Name="InstrumentListView" Grid.Row="1" Margin="10">
- <ListView.View>
- <GridView>
- <GridViewColumn Header="Название" DisplayMemberBinding="{Binding Name}" />
- <GridViewColumn Header="Тип" DisplayMemberBinding="{Binding Type}" />
- <GridViewColumn Header="Бренд" DisplayMemberBinding="{Binding Brand}" />
- <GridViewColumn Header="Цена" DisplayMemberBinding="{Binding Price}" />
- </GridView>
- </ListView.View>
- </ListView>
- </Grid>
- </Window>
|