Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一旦我将 readonly 属性设置为 true,RichTextBox 的透明度就会变成灰色,所以我的 RichTextBox 看起来不再透明。
您应该能够使用 Expression Blend 提取 RichTextBox 的默认控件模板 - 听起来那里有一个触发器会在属性更改时导致灰色,所以只需删除它并将修改后的模板保存到解决方案中的资源字典.
我会为你做这件事,但是当我在 Blend 中打开一个新的 Silverlight 项目时,它无法识别 RichTextBox - 我猜我没有安装足够新的 Silverlight 版本,因为我们只使用 WPF,没有 Silverlight。