1) imagine datagridcolumnheader control meant in green color default.
2) if click on it, activate sorting "sorted ascending", when should become orange. clicking again on change "sorted descending", still should remain in orange color.
the 2 cases above easy vsm. following 2 scenarios seem me impossible without multi-trigger (which dont have in silverlight)
1b) whenever hover mouse on non-sorted control, should become light green. hover away, should go base green.
2b) whenever hover mouse on sorted control, should become light orange. hover away, should go base orange.
how should determine within mouseover state, in mode sorted state is, in order choose light orange or light green accordingly? alternatively possible lighten current color up, without knowing color is?
the easiest make opacity lower when mouse over, making both green , orange lighter.
or alternatively create visual state group sorted states, set data trigger , change colour of mouse on element accordingly.
Comments
Post a Comment