开发者

Reverse highlight in silverlight

I have an items template and I want to highlight some text in a dark color. The problem is that the text starts out as black so I can't read it when it is highlighted.

What is the best way to turn the text white or reverse highl开发者_JAVA技巧ight it when my mouse goes over the parent border (that is the highlight element)


In your Item Template, you must display content within a new ContentControl and you must change ForeColor property of ContentControl in highlighted state of item template.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜