JobRFIPanel.xaml 1.9 KB

12345678910111213141516171819202122232425262728293031
  1. <UserControl x:Class="PRSDesktop.JobRFIPanel"
  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:PRSDesktop"
  7. xmlns:dynamicGrid="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
  8. mc:Ignorable="d"
  9. d:DesignHeight="300" d:DesignWidth="1000">
  10. <dynamicGrid:DynamicSplitPanel Anchor="Master" AnchorWidth="500" View="Combined" AllowableViews="Combined, Master" OnChanged="DynamicSplitPanel_OnOnChanged">
  11. <dynamicGrid:DynamicSplitPanel.Header>
  12. <Border DockPanel.Dock="Top" BorderBrush="Gray" BorderThickness="0.75" Background="Gainsboro" Height="30">
  13. <Label Content="Requests for Information" HorizontalContentAlignment="Center" FontWeight="Bold" FontSize="12"/>
  14. </Border>
  15. </dynamicGrid:DynamicSplitPanel.Header>
  16. <dynamicGrid:DynamicSplitPanel.Master>
  17. <local:JobRFIGrid x:Name="RFIs" OnSelectItem="RFIs_OnOnSelectItem"></local:JobRFIGrid>
  18. </dynamicGrid:DynamicSplitPanel.Master>
  19. <dynamicGrid:DynamicSplitPanel.Detail>
  20. <DockPanel>
  21. <Border DockPanel.Dock="Top" BorderBrush="Gray" BorderThickness="0.75" Background="Gainsboro" Height="30">
  22. <Label Content="RFI Details" HorizontalContentAlignment="Center" FontWeight="Bold" FontSize="12"/>
  23. </Border>
  24. <dynamicGrid:EmbeddedDynamicEditorForm x:Name="RFIEditor" DockPanel.Dock="Bottom" OnOK="RFI_OnOnOK" OnCancel="RFI_OnOnCancel" Margin="-5"/>
  25. </DockPanel>
  26. </dynamicGrid:DynamicSplitPanel.Detail>
  27. </dynamicGrid:DynamicSplitPanel>
  28. </UserControl>