123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <UserControl x:Class="PRSDesktop.EmployeeQualificationDashboard"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PRSDesktop"
- xmlns:sf="http://schemas.syncfusion.com/wpf"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <Style x:Key="EmployeeHeaderStyle" TargetType="{x:Type sf:GridHeaderCellControl}">
- <Setter Property="Background" Value="LightSkyBlue"/>
- <Setter Property="Foreground" Value="Black"/>
- <Setter Property="BorderBrush" Value="Black"/>
- <Setter Property="BorderThickness" Value="0.5,0.5,0.5,0.5"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- <Setter Property="Padding" Value="5,3"/>
- <Setter Property="FontFamily" Value="Segoe UI"/>
- <Setter Property="FontSize" Value="14"/>
- <Setter Property="FontWeight" Value="Normal"/>
- <Setter Property="IsTabStop" Value="False"/>
- </Style>
- <Style x:Key="QualificationHeaderStyle" TargetType="{x:Type sf:GridHeaderCellControl}">
- <Setter Property="Background" Value="LightSkyBlue"/>
- <Setter Property="Foreground" Value="Black"/>
- <Setter Property="BorderBrush" Value="Black"/>
- <Setter Property="BorderThickness" Value="0.5,0.5,0.5,0.5"/>
- <Setter Property="HorizontalContentAlignment" Value="Left"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- <Setter Property="Padding" Value="5,3"/>
- <Setter Property="FontFamily" Value="Segoe UI"/>
- <Setter Property="FontSize" Value="14"/>
- <Setter Property="FontWeight" Value="Normal"/>
- <Setter Property="IsTabStop" Value="False"/>
- <Setter Property="Template" Value="{StaticResource VerticalColumnHeader}"/>
- </Style>
- <LinearGradientBrush x:Key="shadedBackground"
- EndPoint="0,0" StartPoint="3,3"
- MappingMode="Absolute" SpreadMethod="Repeat">
- <GradientStop Color="Red" Offset="0"/>
- <GradientStop Color="Red" Offset="0.2"/>
- <GradientStop Color="Salmon" Offset="0.2"/>
- <GradientStop Color="Salmon" Offset="1"/>
- </LinearGradientBrush>
- </UserControl.Resources>
- <sf:SfDataGrid x:Name="DataGrid"
- Grid.Row="1" Grid.Column="0"
- RowHeight="30"
- HeaderRowHeight="150"
- AutoGenerateColumns="True"
- FrozenColumnCount="1"
- AutoGeneratingColumn="DataGrid_AutoGeneratingColumn"
- ContextMenuOpening="DataGrid_ContextMenuOpening"
- CellToolTipOpening="DataGrid_CellToolTipOpening">
- <sf:SfDataGrid.ContextMenu>
- <ContextMenu/>
- </sf:SfDataGrid.ContextMenu>
- </sf:SfDataGrid>
- <!--Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <DockPanel Grid.Row="0" Grid.Column="0"
- LastChildFill="False">
- <Button x:Name="Export"
- DockPanel.Dock="Right"
- Margin="5" Padding="5"
- Width="60"
- Click="ExportButton_Click">Export</Button>
- </DockPanel>
- </Grid-->
- </UserControl>
|