AddRemovePage.xaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <Window x:Class="PsychoTest.Pages.AddRemovePage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:PsychoTest.Pages"
  7. mc:Ignorable="d"
  8. Title="AddRemovePage" Height="1024" Width="1440">
  9. <Grid Background="#00A08A">
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="*"/>
  12. <RowDefinition Height="10*"/>
  13. </Grid.RowDefinitions>
  14. <StackPanel>
  15. <TextBlock FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center" FontWeight="Bold" Text="Можете прикрепить или открепить пациентов"/>
  16. </StackPanel>
  17. <ListView HorizontalAlignment="Center" Margin="0,10,0,10" Name="PatientList" Grid.Row="1" Background="#0000" BorderThickness="0">
  18. <ListView.ItemsPanel>
  19. <ItemsPanelTemplate>
  20. <StackPanel Width="1400" HorizontalAlignment="Center"/>
  21. </ItemsPanelTemplate>
  22. </ListView.ItemsPanel>
  23. <ListView.ItemTemplate>
  24. <DataTemplate>
  25. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
  26. <TextBlock HorizontalAlignment="Center" FontSize="35" Uid="{Binding User_id}" Loaded="FullnameLoad"/>
  27. <CheckBox VerticalAlignment="Center" HorizontalAlignment="Center" Margin="10,0,0,0" Uid="{Binding User_id}" Name="addPasient" Checked="AddPatient" Unchecked="RemovePatient" Loaded="CheckBoxLoad">
  28. <CheckBox.LayoutTransform>
  29. <ScaleTransform ScaleX="2" ScaleY="2" />
  30. </CheckBox.LayoutTransform>
  31. </CheckBox>
  32. </StackPanel>
  33. </DataTemplate>
  34. </ListView.ItemTemplate>
  35. </ListView>
  36. </Grid>
  37. </Window>