Skip to content

[Feature] Datagrid - Change ColumnHeader Background Color #4185

@paulober

Description

@paulober

Describe the problem this feature would solve

Option to change the background of your ColumnHeaders.

Describe the solution

That you can change the background like the font size in the snippet below:

xmlns:primitives="using:Microsoft.Toolkit.Uwp.UI.Controls.Primitives"

...

<Style TargetType="primitives:DataGridColumnHeader">
    <!-- does work at the moment -->
    <Setter Property="FontSize" Value="{StaticResource HeaderFontSize}" />
    <!-- does not work at the moment -->
    <Setter Property="Background" Value="Transparent" />
</Style>

Additional context

For example, I would have done an acrylic background as you see above but it does not affect the style of the header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DataGrid 🔠Issues on DataGrid controlfeature request 📬A request for new changes to improve functionalityhelp wantedIssues identified as good community contribution opportunitiesimprovements ✨

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions