AgentInfoFrame.xaml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <Page x:Class="UP2022Ex.FrameFolder.AgentInfoFrame"
  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:UP2022Ex.FrameFolder"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="800"
  9. Title="AgentInfoFrame">
  10. <Grid>
  11. <StackPanel Orientation="Vertical">
  12. <StackPanel Orientation="Horizontal">
  13. <ComboBox Width="100" Name="CBSort" SelectionChanged="CBSort_SelectionChanged">
  14. <ComboBoxItem>Наименование</ComboBoxItem>
  15. <ComboBoxItem>Размер скидки</ComboBoxItem>
  16. <ComboBoxItem>Приоритет</ComboBoxItem>
  17. </ComboBox>
  18. <Button Name="BUp" Click="BUP_Click">Воз</Button>
  19. <Button Name="BDown" Click="BDown_Click">Уб</Button>
  20. <ComboBox Width="100" Name="CBFilt" SelectionChanged="CBFilt_SelectionChanged">
  21. <ComboBoxItem>Все типы</ComboBoxItem>
  22. <ComboBoxItem>МФО</ComboBoxItem>
  23. <ComboBoxItem>ПАО</ComboBoxItem>
  24. <ComboBoxItem>ООО</ComboBoxItem>
  25. <ComboBoxItem>ЗАО</ComboBoxItem>
  26. <ComboBoxItem>ОАО</ComboBoxItem>
  27. <ComboBoxItem>МКК</ComboBoxItem>
  28. </ComboBox>
  29. <TextBox Width="200" Name="TBOXSearch" TextChanged="TBOXSearch_TextChanged"></TextBox>
  30. </StackPanel>
  31. <ListView x:Name="LVAgent" Height="200" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
  32. <ListView.ItemTemplate>
  33. <DataTemplate>
  34. <Border BorderBrush="Black" BorderThickness="2" Background="{Binding ColorCell}">
  35. <StackPanel Height="100" Width="700" Orientation="Horizontal">
  36. <StackPanel >
  37. <Image Height="50" Width="50" Source="{Binding Photo}"></Image>
  38. </StackPanel>
  39. <StackPanel Orientation="Vertical" Margin="10 0 0 0">
  40. <TextBlock FontSize="20" Text="{Binding TitleType}"/>
  41. <TextBlock Text="{Binding SaleByTheYear}"/>
  42. <TextBlock Text="{Binding Phone}"/>
  43. <TextBlock Text="{Binding PriorityAgent}"/>
  44. </StackPanel>
  45. <StackPanel Margin="50 0 0 0" >
  46. <TextBlock FontSize="25" Text="{Binding SaleString}"/>
  47. </StackPanel>
  48. </StackPanel>
  49. </Border>
  50. </DataTemplate>
  51. </ListView.ItemTemplate>
  52. </ListView>
  53. <Button x:Name="BAdd" Click="BAdd_Click">Добавить</Button>
  54. </StackPanel>
  55. </Grid>
  56. </Page>