Pre-sales question:

2 replies. Last post: September 15, 2010 10:28 AM by Taj James
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Taj JamesMember

Hello,

 

I am currently evaluation your suite for potential purchase by our company and have a quick question concerning the ClientUI framework. 

 

I have seen that when using a “UXPage” in place of the standard “UserControl” within a Silverlight application you will now have access to a “KeyDown” event for keys that were unsupported before adding your framework,  I.e. The arrow keys.  My question is if that same functionality can be brought into a Silverlight Class Library that does not have “pages” and thus does not use a UXPage. 

 

I.e. my application makes use of a class library that has tools which work off of different states and must perform its own input processing while a certain “tool” is in the active state.  Could I somehow include your framework library dll within my Silverlight Class library and from it gain access to the same KeyUp/KeyDown event recognition that is present in the UXPage control, so that the “KeyDown” event will fire for the arrow keys, when the surface (canvas) that is programatically created by my class library has focus?  And of course, if that is possible, could you provide a quick description of how / what I would need to hook into to obtain said functionality. (Perhaps hooking some form of event handler from the clientui dll up on the drawing surface I am creating within my class lib when a new drawing is initialized?) 

 

Again, to reiterate, I am looking to be able to utilize the improved KeyDown event handling within a Silverlight Class Library, that does not have pages and thus will not have a UXPage to sit on, so that pressing the arrow keys will fire the KeyDown event when the class library is processing the input.  (Without your framework, certain keys, such as the arrow keys, only fire a KeyUp event in Silverlight).

 

Thank you.

All times are GMT -5. The time now is 9:27 PM.
Previous Next