WPF FlowDocument - 仅黑色和白色字体
我们的应用程序有一个 WPF FlowDocumentScrollViewer,它显示带有三种字体颜色文本的流文档:薰衣草色、#FFFFFFE8 和橙色。查看器的背景设置为透明,其后面的窗口具有黑色背景。除了一位客户之外,这对每个人都适用。对他来说,淡紫色的文本显示为白色,而应该是其他两种颜色的文本显示为黑色。黑色文本在黑色背景下很难阅读。
我想有一些窗口设置导致字体颜色在他的计算机上显示为黑白。谁能指出我正确的设置吗?是否有办法在 xaml 或隐藏代码中覆盖此行为?
Our app has a WPF FlowDocumentScrollViewer that shows a flowdocument with text in three font colors: Lavender, #FFFFFFE8, and Orange. The background of the Viewer is set to transparent, with the window behind it having a Black background. This works fine for everybody except for one customer. For him, the Lavender colored text shows up as white, and the text that should be the other two colors shows up as black. Black text is hard to read against a black background.
I imagine there is some windows setting that is causing the font colors to be displayed in black and white on his computer. Can anyone please point me to the correct setting? And is there anyway to override this behavior in the xaml or code behind?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论