1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <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>
- </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">
- <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>
|