﻿<?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 - How to make a custom control to float right in UXDesktop?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-to-make-a-custom-control-to-float-right-in-UXDesktop/</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>How to make a custom control to float right in UXDesktop?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-to-make-a-custom-control-to-float-right-in-UXDesktop/</link><pubDate>Tue, 11 Jan 2011 13:36:11 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;As mentioned in our ClientUI Docs under section Positioning a Window at Startup (&lt;a href="http://www.intersoftpt.com/Support/ClientUI/Docs/WindowOverview.html"&gt;http://www.intersoftpt.com/Support/ClientUI/Docs/WindowOverview.html&lt;/a&gt;), UXWindow has 3 values to position a window, which are Auto, CenterScreen and CenterOwner.&lt;/p&gt;
&lt;p&gt;If you want to manually position a window, you need to set the &lt;strong&gt;WindowStartupLocation&lt;/strong&gt; to &lt;strong&gt;Auto&lt;/strong&gt;, and then set &lt;strong&gt;Left&lt;/strong&gt; and &lt;strong&gt;Top&lt;/strong&gt; properties. Here is the following code:&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=desktopDock, Mode=OneWay}"&amp;gt;
   &amp;lt;Intersoft:UXWindow x:Name="wndHome" IsClientVisible="True" IsActive="True" WindowStartupLocation="Auto" Top="0" Left="800"&amp;gt;
      &amp;lt;local:Welcome/&amp;gt;
   &amp;lt;/Intersoft:UXWindow&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Intersoft:UXDesktop&amp;gt;&lt;/pre&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>How to make a custom control to float right in UXDesktop?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-to-make-a-custom-control-to-float-right-in-UXDesktop/</link><pubDate>Mon, 10 Jan 2011 13:56:26 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;HorizontalAlignment is not working too on my end. However, I will try to discuss with the developer team on how to set the custom control's alignment to the right.&lt;/p&gt;
&lt;p&gt;Meanwhile, you can put the local custom control inside UXWindow and set the &lt;strong&gt;Margin&lt;/strong&gt; property from UXWindow control such as following: &lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=desktopDock}"&amp;gt;
   &amp;lt;Intersoft:UXWindow x:Name="wndHome" Margin="600, 0" IsClientVisible="True"  IsActive="True"&amp;gt;
      &amp;lt;local:Welcome/&amp;gt;
   &amp;lt;/Intersoft:UXWindow&amp;gt;&lt;br /&gt;&amp;lt;/Intersoft:UXDesktop&amp;gt;&lt;/pre&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>How to make a custom control to float right in UXDesktop?</title><link>http://www.intersoftsolutions.com/Community/ClientUI/How-to-make-a-custom-control-to-float-right-in-UXDesktop/</link><pubDate>Mon, 10 Jan 2011 05:24:38 GMT</pubDate><dc:creator>am1102</dc:creator><description>&lt;p&gt;I have add a custom control in UXDesktop,and has set the HorizontalAlignment to right,but it does not work. I just want the costom control to float right . I know use the property of WindowStartupLocation and margin to achieve,but when the window size changed, these settings will not work out.How to make HorizontalAlignment=right works. thank you !!!&lt;br /&gt;my code:&lt;br /&gt;&amp;lt;Intersoft:UXDesktop x:Name="MyDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=DesktopDock}" ItemContainerStyle="{StaticResource GlassWindowStyle}"&amp;gt;&lt;br /&gt;                &amp;lt;local:WaterList IsClientVisible="True" IsActive="True" HorizontalAlignment="Right" /&amp;gt;&lt;br /&gt;        &amp;lt;/Intersoft:UXDesktop&amp;gt;&lt;/p&gt;</description></item></channel></rss>