﻿<?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 - UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</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>UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</link><pubDate>Sun, 05 May 2013 22:21:11 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Glad to hear that set the &lt;strong&gt;IsTabStop&lt;/strong&gt; property helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Should you need further assistance or run into any technical problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</link><pubDate>Fri, 03 May 2013 04:49:55 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;Many thanks, that now works.&lt;/p&gt;</description></item><item><title>UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</link><pubDate>Fri, 03 May 2013 00:27:31 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you for the prompt feedback.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;private void ExecuteLaunchAbout(object parameter)
{
    if (parameter.ToString()=="close")
    this.IsVisible =  false;
    else
    {
        this.IsVisible = true;
        ISFocusManager.SetFocus("AuthorSearch");
        object obj = ISFocusManager.GetFocusedElement();
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I modified the above code by adding an object variable in order to check the focused element after invoking SetFocus() method. Debugging on the obj variable proves that the focus has been set to the AuthorSearch UXSearchBox element.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;However, visually, user might not realize this since there is no cursor displayed in the textbox of AuthorSearch UXSearchBox element (compared to the focus behavior on txt1 UXTextBox element). In order to have the similar behavior please try to set the &lt;strong&gt;IsTabStop&lt;/strong&gt; property of AuthorSearch UXSearchBox to &lt;strong&gt;False&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXSearchBox IsTabStop="False" Margin="5" FontSize="15" Height="30"
                        WatermarkText="Author's name.."
                        WatermarkTextVisibility="Visible" HorizontalAlignment="Left"
                        Width="250" x:Name="AuthorSearch" /&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I have tested this solution and it works like a charm. Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</link><pubDate>Thu, 02 May 2013 12:06:35 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;Thanks for that.  What you have supplied works for some controls and not others.  I have re-attached the project and added some code.  Th set focus works for buttons and text box but I want to set focus to a UXSearchBox - and this does not work for this control -can you please advise?&lt;/p&gt;</description></item><item><title>UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</link><pubDate>Thu, 02 May 2013 03:14:41 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I created a simple project of UXWindowChrome. In my simple project, the UXWindowChrome is shown when user clicks a UXButton (using DelegateCommand). The command will set a Boolean property to True. This property is bound to IsClientVisible property of UXWindowChrome.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I also add a line which set the focus on UXWindowChrome element. Please have the attached project evaluated on your end and let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXWindowChrome</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindowChrome/</link><pubDate>Tue, 30 Apr 2013 11:01:55 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 11pt;"&gt;I am using&amp;nbsp;UXWindowChrome and using&amp;nbsp;&lt;span style="font-family: 'courier new', tahoma; color: rgb(255, 0, 0); font-size: 11pt;"&gt;IsClientVisible&lt;/span&gt;&lt;span style="font-family: 'courier new', tahoma; color: rgb(0, 0, 255); font-size: 11pt;"&gt;="true" (via binding) to make window appear/disappear.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'courier new', tahoma; color: rgb(0, 0, 255); font-size: 11pt;"&gt;I am using MVVM pattern.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 11pt;"&gt;&lt;span style="font-family: 'courier new', tahoma; color: rgb(0, 0, 255); font-size: 11pt;"&gt;1)  I can't seem to be able to set focus using IsFocusManager.SetFocus("My&lt;/span&gt;UXWindowChrome&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt;").&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 11pt;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt;So for exmaple I have a button which sets  &lt;/span&gt;IsClientVisible to true (via binding) and then tries to set focus to a control - this does not work/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 11pt;"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt;2)  As mentioned I use &lt;/span&gt;&lt;span style="font-family: 'courier new', tahoma; color: rgb(255, 0, 0); font-size: 11pt;"&gt;IsClientVisible&lt;/span&gt;&lt;span style="font-family: 'courier new', tahoma; color: rgb(0, 0, 255); font-size: 11pt;"&gt;="true" but how do I open/close the window using MVVM?&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'courier new', tahoma; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>