WPF WindowFormsHost RichTextBox ForeColor issue
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description


The forecolor and the back color comes out wrong on run. Please solve this issue. WPF WindowFormHost ForeColour Issue
### Reproduction Steps
I have attached a zip here:
[Error.zip](https://github.com/user-attachments/files/16728537/Error.zip)
### Expected behavior
It comes out as a transparenty color instead of the ordinary black.
### Actual behavior
It's meant to come out as black
### Regression?
It used to work in .net 8 before I switched to .net 9.
### Known Workarounds
Using the WPF richtextbox(formatting controls such as backcolor, selectionfont not availiable)
### Impact
Prevention of usage of richtextbox
### Configuration
.net 9
windows 10.10.0.17763.0
x64
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.