EmailInterfaceForm.xaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <wpf:ThemableWindow x:Class="PRSDesktop.EmailInterfaceForm"
  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:PRSDesktop"
  7. xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
  8. xmlns:dynamicgrid="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
  9. mc:Ignorable="d"
  10. Title="Email Activity" Height="900" Width="1600" Loaded="Window_Loaded" Background="WhiteSmoke"
  11. WindowStartupLocation="CenterScreen">
  12. <Grid Margin="5">
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto" />
  15. <RowDefinition Height=".4*" />
  16. <RowDefinition Height=".6*" />
  17. </Grid.RowDefinitions>
  18. <Border CornerRadius="5,5,0,0" Grid.Row="0" BorderBrush="Gray" BorderThickness="0.75" Background="Gainsboro"
  19. Padding="5">
  20. <DockPanel>
  21. <Label DockPanel.Dock="Left" Content="Folder" />
  22. <ComboBox x:Name="Folder" DockPanel.Dock="Left" Width="100" Margin="5,0,0,0" SelectedIndex="0"
  23. SelectionChanged="Folder_SelectionChanged" VerticalContentAlignment="Center">
  24. <ComboBoxItem Content="Inbox" />
  25. <ComboBoxItem Content="Sent Items" />
  26. </ComboBox>
  27. <ComboBox x:Name="Items" DockPanel.Dock="Right" Width="100" Margin="5,0,0,0" SelectedIndex="0"
  28. SelectionChanged="Items_SelectionChanged" VerticalContentAlignment="Center">
  29. <ComboBoxItem Content="100" />
  30. <ComboBoxItem Content="500" />
  31. <ComboBoxItem Content="1000" />
  32. <ComboBoxItem Content="All Items" />
  33. </ComboBox>
  34. <Label DockPanel.Dock="Right" Content="Items" Margin="5,0,0,0" />
  35. <!--<Label DockPanel.Dock="Left" Content="Activity" Margin="5,0,0,0"/>
  36. <ComboBox x:Name="Activities" DockPanel.Dock="Left" Width="250" Margin="5,0,0,0" VerticalContentAlignment="Center" SelectedValuePath="Key" DisplayMemberPath="Value" SelectionChanged="Activities_SelectionChanged"/>-->
  37. <Label DockPanel.Dock="Left" Margin="5,0,0,0" Content="" x:Name="Employee" HorizontalAlignment="Center"
  38. VerticalContentAlignment="Center" />
  39. </DockPanel>
  40. </Border>
  41. <local:EmailInterfaceGrid x:Name="Emails" Grid.Row="1" Margin="0,5,0,0" RootFolder="Inbox" Folder=""
  42. Count="100" />
  43. <dynamicgrid:RichTextEditor x:Name="Preview" Grid.Row="2" Margin="0,5,0,0" Color="White" />
  44. </Grid>
  45. </wpf:ThemableWindow>