AdminList.xaml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <Page x:Class="DemoShelest.Pages.AdminList"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:DemoShelest.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="AdminList">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="60"/>
  13. <RowDefinition/>
  14. </Grid.RowDefinitions>
  15. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
  16. <StackPanel>
  17. <TextBlock Margin="7,0">Поиск</TextBlock>
  18. <TextBox Name="TBPoisk" Width="250" Height="30" Margin="7,0"></TextBox>
  19. </StackPanel>
  20. <StackPanel>
  21. <TextBlock HorizontalAlignment="Center">Сортировка</TextBlock>
  22. <ComboBox Name="CBSort" Height="30" Width="110" Margin="7,0"></ComboBox>
  23. </StackPanel>
  24. <StackPanel>
  25. <TextBlock HorizontalAlignment="Center">Фильтрация</TextBlock>
  26. <ComboBox Name="CBFilt" Height="30" Width="110" Margin="7,0"></ComboBox>
  27. </StackPanel>
  28. </StackPanel>
  29. <ListView Grid.Row="1" Name="Agent">
  30. <ListView.ItemsPanel>
  31. <ItemsPanelTemplate>
  32. <WrapPanel></WrapPanel>
  33. </ItemsPanelTemplate>
  34. </ListView.ItemsPanel>
  35. <ListView.ItemTemplate>
  36. <DataTemplate>
  37. <Grid>
  38. <StackPanel Orientation="Horizontal">
  39. <Image/>
  40. <StackPanel>
  41. <StackPanel Orientation="Horizontal">
  42. <TextBlock Name="TBType">Тип</TextBlock>
  43. <TextBlock Margin="7,0">|</TextBlock>
  44. <TextBlock Name="TBTitle" Text="{Binding }">Наименование</TextBlock>
  45. </StackPanel>
  46. <TextBlock Name="TBAge" Text="{Binding }">Продаж за год</TextBlock>
  47. <TextBlock Name="TBPhone" Text="{Binding }"></TextBlock>
  48. <TextBlock Name="TBPrior" Text="{Binding}">Приоритетсность:</TextBlock>
  49. </StackPanel>
  50. </StackPanel>
  51. </Grid>
  52. </DataTemplate>
  53. </ListView.ItemTemplate>
  54. </ListView>
  55. </Grid>
  56. </Page>