Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Windows.Documents;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Navigation;
using System.Windows.Shapes;

Expand All @@ -19,5 +21,11 @@ public ComboBoxPage(ComboBoxPageViewModel viewModel)
DataContext = this;

InitializeComponent();

// Fluent's HC selection color is WindowColor, washing out editable text selected on focus; use the Highlight color instead.
if (SystemParameters.HighContrast)
Comment thread
dipeshmsft marked this conversation as resolved.
{
Resources["TextControlSelectionHighlightColor"] = new SolidColorBrush(SystemColors.HighlightColor);
}
}
}
Loading