Skip to content

TreeView does not respect SystemAccentColor override #1189

Open

Description

Describe the bug
The TreeView will only respect the OS system colour. As a developer, if I override the SystemAccentColor in my App.xaml file, the entire app should respect my new override. However, the TreeView does not respect it.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Clone this repo and check out the themeBug branch: https://github.com/dpaulino/treeviewtest/tree/themeBug
  2. Change your OS system colour to anything except for #00CC6A (light green).
  3. Launch the app from Visual Studio 2019 by pressing F5.
  4. Click on any tree item.
  5. You will find the tree item will be highlighted with the OS system colour, while one of the buttons in the sample app will be using the override colour as listed in App.xaml.

Expected behavior
The tree should respect the SystemAccentColor override.

Screenshots

image

Version Info

NuGet package version: 2.1.190606001

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2019 Update (18362) yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions