12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <Page x:Class="Proetic.MainlistPage"
- 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:Proetic"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="MainlistPage">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="160"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="0" Height="30" Width="200" Margin="109,10,491,120">Введите для поиска</TextBlock>
- <TextBlock Grid.Row="0" Height="30" Width="100" Margin="399,10,301,120">Фильтрация</TextBlock>
- <TextBlock Grid.Row="0" Height="30" Width="100" Margin="551,10,149,120">Сортировка</TextBlock>
- <WrapPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" Margin="85,0,85,10" Grid.RowSpan="2">
- <TextBox Name="TbSearch" Height="30" Width="250" Margin="35" ></TextBox>
- <ComboBox Name="CBFilter" Height="30" Width="120" >
- <ComboBoxItem>Название возр.</ComboBoxItem>
- <ComboBoxItem>Название убыв.</ComboBoxItem>
- <ComboBoxItem>Скидка возр.</ComboBoxItem>
- <ComboBoxItem>Скидка убыв.</ComboBoxItem>
- <ComboBoxItem>Приоритет возр.</ComboBoxItem>
- <ComboBoxItem>Приоритет убыв.</ComboBoxItem>
- </ComboBox>
- <ComboBox x:Name="CBSort" Height="30" Width="120" Margin="35" />
- </WrapPanel>
- <ListView Name="LVAgent" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Margin="0,74,0,81" Grid.RowSpan="2">
- <ListView.ItemTemplate>
- <DataTemplate>
- <Border Padding="5" CornerRadius="5" BorderThickness="1" >
- <Grid Width="600" Height="100">
- <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
- <Image Source="{Binding image}" HorizontalAlignment="Left" Height="70" Width="100"/>
- <StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding AgentType.Title}"></TextBlock>
- <TextBlock>|</TextBlock>
- <TextBlock Text="{Binding Title}"></TextBlock>
- </StackPanel>
- <TextBlock></TextBlock>
- <TextBlock Text="{Binding Phone}"></TextBlock>
- <TextBlock Text="{Binding Priority, StringFormat={} Приоритетность: {0}}"></TextBlock>
- </StackPanel>
- </StackPanel>
- </Grid>
- </Border>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </Grid>
- </Page>
|