I think I did not explain properly.
Here is how I added converter to the resources defined for keys.
<TextBlock Text="{Binding UpperCase}" Foreground="{Binding UpperCase, Converter={StaticResource UpperCaseColorConverter}}"/>
I can easily find if Caps lock is on or not using
MindFusion.UI.Wpf.VirtualKeyboard.CapsLocked in my ColorCoverter class.
But the problem is when Caps lock is pressed, for me to update UI whether to highlight the Text or not is tricky as its showing the Upper Textbox Key as highlighted.
I can get around that by checking the character at place to see if that is supposed to be upper case or not for en-US culture key.
But we support multiple languages in our application and hence we use different keyboard, and adding a check for each key will be hard for all the languages.
So I was wondering if there is a way to treat these keys differently rather than Regular Key as currently defined by Virtual Keyboard creator.
Thanks.