KirillOsenkov / PublicBugs

My personal bug tracker for products where it's not worth logging a bug in their tracker
MIT License
0 stars 0 forks source link

WPF combobox hardcodes the textbox background to white #17

Open KirillOsenkov opened 4 years ago

KirillOsenkov commented 4 years ago
            <Border x:Name="Border"
                Margin="{TemplateBinding BorderThickness}"
                Background="{StaticResource &#271;}">
                <TextBox x:Name="PART_EditableTextBox"
                    Style="{StaticResource &#240;}"
                    IsReadOnly="{Binding IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}"
                    Margin="{TemplateBinding Padding}"
                    HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
                    VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
            </Border>