EmployeeQualificationDashboard.xaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <UserControl x:Class="PRSDesktop.EmployeeQualificationDashboard"
  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:sf="http://schemas.syncfusion.com/wpf"
  8. mc:Ignorable="d"
  9. d:DesignHeight="450" d:DesignWidth="800">
  10. <UserControl.Resources>
  11. <Style x:Key="EmployeeHeaderStyle" TargetType="{x:Type sf:GridHeaderCellControl}">
  12. <Setter Property="Background" Value="LightSkyBlue"/>
  13. <Setter Property="Foreground" Value="Black"/>
  14. <Setter Property="BorderBrush" Value="Black"/>
  15. <Setter Property="BorderThickness" Value="0.5,0.5,0.5,0.5"/>
  16. <Setter Property="HorizontalContentAlignment" Value="Center"/>
  17. <Setter Property="VerticalContentAlignment" Value="Center"/>
  18. <Setter Property="Padding" Value="5,3"/>
  19. <Setter Property="FontFamily" Value="Segoe UI"/>
  20. <Setter Property="FontSize" Value="14"/>
  21. <Setter Property="FontWeight" Value="Normal"/>
  22. <Setter Property="IsTabStop" Value="False"/>
  23. </Style>
  24. <Style x:Key="QualificationHeaderStyle" TargetType="{x:Type sf:GridHeaderCellControl}">
  25. <Setter Property="Background" Value="LightSkyBlue"/>
  26. <Setter Property="Foreground" Value="Black"/>
  27. <Setter Property="BorderBrush" Value="Black"/>
  28. <Setter Property="BorderThickness" Value="0.5,0.5,0.5,0.5"/>
  29. <Setter Property="HorizontalContentAlignment" Value="Left"/>
  30. <Setter Property="VerticalContentAlignment" Value="Center"/>
  31. <Setter Property="Padding" Value="5,3"/>
  32. <Setter Property="FontFamily" Value="Segoe UI"/>
  33. <Setter Property="FontSize" Value="14"/>
  34. <Setter Property="FontWeight" Value="Normal"/>
  35. <Setter Property="IsTabStop" Value="False"/>
  36. <Setter Property="Template" Value="{StaticResource VerticalColumnHeader}"/>
  37. </Style>
  38. </UserControl.Resources>
  39. <sf:SfDataGrid x:Name="DataGrid"
  40. Grid.Row="1" Grid.Column="0"
  41. RowHeight="30"
  42. HeaderRowHeight="150"
  43. AutoGenerateColumns="True"
  44. FrozenColumnCount="1"
  45. AutoGeneratingColumn="DataGrid_AutoGeneratingColumn"
  46. ContextMenuOpening="DataGrid_ContextMenuOpening">
  47. <sf:SfDataGrid.ContextMenu>
  48. <ContextMenu/>
  49. </sf:SfDataGrid.ContextMenu>
  50. </sf:SfDataGrid>
  51. <!--Grid>
  52. <Grid.ColumnDefinitions>
  53. <ColumnDefinition Width="*"/>
  54. </Grid.ColumnDefinitions>
  55. <Grid.RowDefinitions>
  56. <RowDefinition Height="Auto"/>
  57. <RowDefinition Height="*"/>
  58. </Grid.RowDefinitions>
  59. <DockPanel Grid.Row="0" Grid.Column="0"
  60. LastChildFill="False">
  61. <Button x:Name="Export"
  62. DockPanel.Dock="Right"
  63. Margin="5" Padding="5"
  64. Width="60"
  65. Click="ExportButton_Click">Export</Button>
  66. </DockPanel>
  67. </Grid-->
  68. </UserControl>