Skip to content

Commit d7339e5

Browse files
authored
Merge pull request #230 from Nickelony/master
Fixed CompletionList Foreground and Background colors not applying.
2 parents 6f3e9b7 + 59266ca commit d7339e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ICSharpCode.AvalonEdit/CodeCompletion/CompletionList.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
<Setter.Value>
3838
<ControlTemplate TargetType="{x:Type cc:CompletionList}">
3939
<cc:CompletionListBox x:Name="PART_ListBox"
40-
ItemContainerStyle="{StaticResource CompletionListBoxItem}">
40+
ItemContainerStyle="{StaticResource CompletionListBoxItem}"
41+
Background="{TemplateBinding Background}"
42+
TextBlock.Foreground="{TemplateBinding Foreground}">
4143
<ItemsControl.ItemTemplate>
4244
<DataTemplate>
4345
<StackPanel Orientation="Horizontal">

0 commit comments

Comments
 (0)