Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Full Screen input problem
3 replies. Latest Post by nba_bogdan on April 2, 2009.
(0)
nba_bogdan
Member
1 points
10 Posts
04-02-2009 5:32 AM |
Hi,
I am having some problems with the Silverlight full screen mode.
If I switch my application to full screen all the input from the keyboard is not handled. No textbox input, no key down / key up event and probably much more. Here is a sample application that demonstrates this :
Xaml :
Code behind:
{
InitializeComponent();
}
It is simple to see that in full screen mode you can't write text in the textbox. Am I doing something wrong here ? Is there another way to switch full screen so this will not happen ?
Regards,
skm.soft...
196 points
216 Posts
04-02-2009 5:36 AM |
HiIf you make your's controls like textbox, textblock z-index more than the z-index of medie-element,It will solve the problem for you.Sachin Mukhija
Tim Dawson
Participant
1114 points
215 Posts
04-02-2009 6:11 AM |
I think the previous poster misunderstood your question.
Keyboard input is not supported in fullscreen Silverlight beyond simple arrow keys etc. Certainly no characters can be entered. This is a security limitation and cannot be changed.
04-02-2009 9:22 AM |
Thanks, I found that out too :).
This MSDN article gives a more detailed reason:
When a Silverlight plug-in is in full-screen mode, it disables most keyboard events. This limitation of keyboard input during full-screen mode is a security feature, and is intended to minimize the possibility of unintended information being entered by a user. In full-screen mode, the only input allowed is through the following keys. UP ARROW, DOWN ARROW, LEFT ARROW, RIGHT ARROW, SPACEBAR, TAB, PAGE UP, PAGE DOWN, HOME, END, ENTER
When a Silverlight plug-in is in full-screen mode, it disables most keyboard events. This limitation of keyboard input during full-screen mode is a security feature, and is intended to minimize the possibility of unintended information being entered by a user. In full-screen mode, the only input allowed is through the following keys.
UP ARROW, DOWN ARROW, LEFT ARROW, RIGHT ARROW, SPACEBAR, TAB, PAGE UP, PAGE DOWN, HOME, END, ENTER