Silverlight - sending Control+s

Apr 28, 2010 at 6:17 AM


I'm having trouble using White with Silverlight 4 to sent a Control+s combination. If I use an upper case 'S' then I get a Control-Shift+S. But the lower case 's' is never received.

The test code fragment:


The production code fragment:

        protected override void OnKeyDown(KeyEventArgs e)
            if (!e.Handled)
                Debug.WriteLine("xKey pressed {0}-{1}", e.Key, e.PlatformKeyCode);//>>>
                Debug.WriteLine("Key gobbled {0}-{1}", e.Key, e.PlatformKeyCode);//>>>

If I send 'S' the trace tells me it got a Control-Shift+S.  If I send 's' (as shown above) I see the Control key but not the S key.

Any ideas?


Rob Smyth


May 18, 2010 at 5:07 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.