DigitalFormsDock.xaml 1.5 KB

12345678910111213141516171819202122232425
  1. <UserControl x:Class="PRSDesktop.DigitalFormsDock"
  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. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="300">
  9. <DockPanel>
  10. <Border DockPanel.Dock="Top" BorderBrush="Gray" BorderThickness="0.75" Background="WhiteSmoke" Padding="2">
  11. <DockPanel DockPanel.Dock="Top">
  12. <Button x:Name="RefreshButton" DockPanel.Dock="Left" Width="25" BorderBrush="Gray" BorderThickness="0.75" Padding="2" Click="RefreshButton_OnClick">
  13. <Image Source="../Resources/refresh.png"/>
  14. </Button>
  15. <StackPanel x:Name="TypeStack" DockPanel.Dock="Right" Orientation="Horizontal" />
  16. <ComboBox x:Name="AgeCombo" DockPanel.Dock="Left" Margin="2,0,0,0" SelectionChanged="AgeCombo_OnSelectionChanged" SelectedIndex="0">
  17. <ComboBoxItem Content="Today"/>
  18. <ComboBoxItem Content="Last 7 Days"/>
  19. <ComboBoxItem Content="Last 30 Days"/>
  20. </ComboBox>
  21. </DockPanel>
  22. </Border>
  23. <local:DigitalFormDockGrid x:Name="Items" DockPanel.Dock="Top" Margin="0,2,0,0"/>
  24. </DockPanel>
  25. </UserControl>