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.
精彩评论