From 499ae1563d6f783c4163546bdabf20ee750ca568 Mon Sep 17 00:00:00 2001 From: KubeRoot Date: Wed, 29 Nov 2023 23:53:00 +0100 Subject: [PATCH] Add missing brushes to SearchBox's TextPresenter --- ILSpy.Core/Controls/SearchBox.xaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ILSpy.Core/Controls/SearchBox.xaml b/ILSpy.Core/Controls/SearchBox.xaml index 52d9666..d424e51 100644 --- a/ILSpy.Core/Controls/SearchBox.xaml +++ b/ILSpy.Core/Controls/SearchBox.xaml @@ -8,7 +8,9 @@ - + + + @@ -39,7 +41,9 @@ SelectionEnd="{TemplateBinding SelectionEnd}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" - PasswordChar="{TemplateBinding PasswordChar}"/> + PasswordChar="{TemplateBinding PasswordChar}" + SelectionBrush="{TemplateBinding SelectionBrush}" + SelectionForegroundBrush="{TemplateBinding SelectionForegroundBrush}"/>