1. Key Board Events Mahender Senior Software Engineer United Health Group
2. Mahender Sarangam Having 5 years of experience on .NET Technologies. Working as a Senior Software Engineer in United Health Group (UHG India Information Service Ltd.). Worked with Big Firms like Deloitte Consulting & Wipro Technology. Got Technical Acquaintance on Technologies like C#, ASP.NET,AJAX, LINQ, Silverlight, WPF,WCF ,SQL Server, Team Foundation Server(TFS) and SharePoint Technology. MCTS Certified in Web Technologies. Blog : http://Msarangam.wordpress.com
3. Key Board Events In Today’s world to develop more user interactive UI screen, there is necessity of event like Key Board event, Mouse Click events. Silverlight provides you the facility of responding to keyboard /Key Stroke action In Silverlight, to fire up the key board, first SilverLight plug-in or SilverLight control should get the focus first. Note: When you create an application that uses keyboard input, make sure to test the application in each of your target deployment browsers
4. If the user holds the key down, and his system is set up to allow key repeating (the default), multiple KeyDown events will be fired and Key Up will only be fired when the key is released. KeyUp, KeyDown - these are the key events. Which key is pressed is determined by event parameters passed to the handler. All keyboard events use KeyEventArgs for event data, and KeyEventArgs contains the following properties: Key PlatformKeyCode Handled OriginalSource
5. Dealing with modifier keys The Keyboard class, in the System.Windows.Input namespace, exposes information directly related to the selected modifier keys Execute(object parameter) - Called whenever the command is activated. The parameter is optional. CanExecute(object parameter) - This method is called to determine whether the command can execute at the current time. The main feature of this is the command source can disable itself if its command cannot be executed. event CanExecuteChanged - The command should raise this event whenever it's ability to be executed has changed.