pgRmList.xaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <Page x:Class="RedmineOracle.pgRmList"
  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:RedmineOracle"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="pgRmList"
  10. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
  11. <Page.Resources>
  12. <DataTemplate x:Key="tmpList">
  13. <Border BorderBrush="Black" BorderThickness="1,1">
  14. <StackPanel>
  15. <StackPanel Orientation="Horizontal">
  16. <TextBlock Text="{Binding Id}" Background="Aqua" MouseDown="TextBlock_MouseDown"></TextBlock>
  17. <TextBlock Text=" | " ></TextBlock>
  18. <TextBlock Text="{Binding idLRP}" ></TextBlock>
  19. <TextBlock Text=" | " ></TextBlock>
  20. <TextBlock Text="{Binding Status}" ></TextBlock>
  21. <TextBlock Text=" | " ></TextBlock>
  22. <TextBlock Text="{Binding CreatedOn}" ></TextBlock>
  23. <TextBlock Text=" | " ></TextBlock>
  24. <TextBlock Text="{Binding DateComplite}" ></TextBlock>
  25. </StackPanel>
  26. <TextBlock Text="{Binding Responsible}" ></TextBlock>
  27. <StackPanel Orientation="Horizontal">
  28. <TextBlock Text="{Binding Project}"></TextBlock>
  29. <TextBlock Text=" | " ></TextBlock>
  30. <TextBlock Text="{Binding Name}"></TextBlock>
  31. </StackPanel>
  32. <StackPanel Orientation="Horizontal">
  33. <TextBlock Text="{Binding DateLastComment}" Visibility="{Binding VisibilityDateLastComment}"></TextBlock>
  34. <TextBlock Text=" | " Visibility="{Binding VisibilityDateLastComment}"></TextBlock>
  35. <TextBlock Text="{Binding Journal}"></TextBlock>
  36. </StackPanel>
  37. </StackPanel>
  38. </Border>
  39. </DataTemplate>
  40. </Page.Resources>
  41. <Grid>
  42. <Grid.RowDefinitions>
  43. <RowDefinition Height="32*"/>
  44. <RowDefinition Height="193*"/>
  45. </Grid.RowDefinitions>
  46. <StackPanel Grid.Row="0" Orientation="Horizontal">
  47. <ComboBox Name="cbRespIss" SelectionChanged="cbRespIss_SelectionChanged"></ComboBox>
  48. <Button Name="btnClear" Click="btnClear_Click" Content="Сбросить"></Button>
  49. </StackPanel>
  50. <ListBox Name="lbRmIssues" ItemTemplate="{StaticResource tmpList}" Grid.Row="1"></ListBox>
  51. </Grid>
  52. </Page>