'How to change selected view highlight in WinUI 3

How to change the appearance (e.g height, width, color, position, etc.) of the selected view indicator (the blue line)?

  1. TextBox example: TextBox example

  2. ComboBox example: ComboBox example


Edit 1: This is the only thing I found on the internet and it DIDN'T work.

<ComboBox.Resources>
    <SolidColorBrush 
        x:Key="ComboBoxItemBackgroundSelected" Color="#FF0000" />
    <SolidColorBrush 
        x:Key="ComboBoxItemBackgroundSelectedPointerOver" Color="#FF0000" />
 </ComboBox.Resources>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source