﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - Pre-sales question: </title><link>http://www.intersoftsolutions.com/Community/ClientUI/Pre-sales-question/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Pre-sales question: </title><link>http://www.intersoftsolutions.com/Community/ClientUI/Pre-sales-question/</link><pubDate>Wed, 15 Sep 2010 10:28:28 GMT</pubDate><dc:creator>Syllus</dc:creator><category>Silverlight</category><category>ClientUI</category><description>&lt;p&gt;Thank you Jimmy, this was a big help.  And yes the app is beign built in SL 4 :)&lt;/p&gt;</description></item><item><title>Pre-sales question: </title><link>http://www.intersoftsolutions.com/Community/ClientUI/Pre-sales-question/</link><pubDate>Tue, 14 Sep 2010 23:20:53 GMT</pubDate><dc:creator>jimmyps</dc:creator><category>Silverlight</category><category>ClientUI</category><description>&lt;p&gt;Hello James,&lt;/p&gt;&lt;p&gt;Thank you for your interest in our ClientUI suite.&lt;/p&gt;
&lt;p&gt;Our UXPage is built on the top of the ClientUI Framework that use solid architecture such as routed events and commands. That enables many events to be raised properly, which are lacking or not possible to be done in Silverlight's core library. Many of our controls also implement ISO-standard user experiences, such as keyboard focus or navigation using arrow keys. You can learn more from my blog post &lt;a target="_blank" href="http://intersoftpt.wordpress.com/2010/05/21/clientui-part-4-rich-ui-meets-iso-standards/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regarding the key events in ClientUI Framework, there are a number of ways to handle the KeyDown/KeyUp events. You can use the Keyboard class provided in the framework to add KeyDown handler to any objects with type UIElement.&lt;/p&gt;
&lt;p&gt;First, attach the key down handler in the page load, see the example below.&lt;/p&gt;&lt;pre&gt;Intersoft.Client.Framework.Input.Keyboard.AddKeyDownHandler(textBox1, textBox1_KeyDown);
&lt;/pre&gt;
&lt;p&gt;Then, write the method that handle the delegate, see the example below.&lt;/p&gt;&lt;pre&gt;void textBox1_KeyDown(object sender, Intersoft.Client.Framework.Input.KeyEventArgs e)
{
      label1.Content = e.Key.ToString();
}&lt;/pre&gt;
&lt;p&gt;You should be able to see the keyboard key that you typed to the textbox in the label1 control. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Let me know if that works in your end.&lt;/p&gt;
&lt;p&gt;PS: I presumed that you're building on SL 4 app, let me know if you're actually on SL 3.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Jimmy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Pre-sales question: </title><link>http://www.intersoftsolutions.com/Community/ClientUI/Pre-sales-question/</link><pubDate>Tue, 14 Sep 2010 13:10:50 GMT</pubDate><dc:creator>Syllus</dc:creator><category>Silverlight</category><category>ClientUI</category><description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Hello,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;I am currently evaluation your suite for potential purchase by our company and have a quick question concerning the ClientUI framework.  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;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.  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;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?)  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;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).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Thank you.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
</description></item></channel></rss>