﻿<?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 - Positionning Multiple windows to make them stick together like beeing groupped</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Positionning-Multiple-windows-to-make-them-stick-together-like-beeing-groupped/</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>Positionning Multiple windows to make them stick together like beeing groupped</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Positionning-Multiple-windows-to-make-them-stick-together-like-beeing-groupped/</link><pubDate>Tue, 18 Jun 2013 04:20:13 GMT</pubDate><dc:creator>yudi</dc:creator><category>windows</category><category>Positionning</category><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;User interface applications can be generally categorized into two patterns at the high level, which are Single Document Interface (SDI) and Multiple Document Interface (MDI).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;ClientUI implements MDI pattern through a solid framework along with a host of desktop and windowing controls. The UXDesktop and UXWindow are two fundamental building blocks in implementing MDI presentation pattern. The user experience of UXWindow is made by simulating the industrial-standard window control.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;When you resize the window “Favorites” in LikeThis.png, the other windows are not stick on its border. Such scenario is not the default behavior of windowing control. However, you still can implement the scenario by adding your own code that will calculate the Left and Top property of the windows. And then set the new Left and Top property of each window when user moves/resize one of the windows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please feel free to let us know your response.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Positionning Multiple windows to make them stick together like beeing groupped</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Positionning-Multiple-windows-to-make-them-stick-together-like-beeing-groupped/</link><pubDate>Mon, 17 Jun 2013 07:01:23 GMT</pubDate><dc:creator>TheHaythemKaroui</dc:creator><category>windows</category><category>Positionning</category><description>Hi Yudi!&lt;div&gt;Thank you for your response... the problem is still existant when i try to resize the main window.&lt;/div&gt;
&lt;div&gt;When i resize the window "Favorites" in "LikeThis.png", i want the others to stick on its border ...&lt;/div&gt;
&lt;div&gt;is that possible?&lt;/div&gt;</description></item><item><title>Positionning Multiple windows to make them stick together like beeing groupped</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Positionning-Multiple-windows-to-make-them-stick-together-like-beeing-groupped/</link><pubDate>Mon, 17 Jun 2013 04:06:10 GMT</pubDate><dc:creator>yudi</dc:creator><category>windows</category><category>Positionning</category><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;WindowStartupLocation property gets or sets a value that indicates how the window should be positioned during startup. You can set a window to be automatically positioned to certain location at startup by setting its &lt;strong&gt;WindowStartupLocation&lt;/strong&gt; property. UXWindow exposes three values that you can apply which is explained below:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: rgb(31, 73, 125);"&gt;&lt;li&gt;&lt;strong&gt;Auto&lt;/strong&gt;: the window location will be determined automatically, which is the default value.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;CenterScreen&lt;/strong&gt;: the window will be positioned in center relative to the screen.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;CenterOwner&lt;/strong&gt;: the window will be positioned in center relative to the owner/parent.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;When the &lt;strong&gt;Auto&lt;/strong&gt; mode is used, the desktop manager first checks for the &lt;strong&gt;Left&lt;/strong&gt; and &lt;strong&gt;Top&lt;/strong&gt; property of the window. If an exact location is not specified, the desktop manager automatically calculates the position from the last shown window and position the window cascaded against the previous position. The cascading space can be customized through CascadingSpace property in UXDesktop.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;The best approach for your scenario is to use the &lt;strong&gt;Auto&lt;/strong&gt; as the &lt;strong&gt;WindowStartupLocation&lt;/strong&gt; and specify the exact location by providing the &lt;strong&gt;Left&lt;/strong&gt; and &lt;strong&gt;Top&lt;/strong&gt; property of UXWindow.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Example:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXWindow 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:Intersoft="http://intersoft.clientui.com/schemas"
	x:Class="Intersoft.ClientUI.Samples.WindowControls.Views.UXDesktopDock.Home" 
	Header="My ClientUI Silverlight Desktop" IsClientVisible="True"
	WindowStartupLocation="Auto" CanMaximize="False" CanResize="False"
	IsActive="True" Height="320" Width="500" Left="50" Top="300"
	d:DesignWidth="640" d:DesignHeight="480"
    Icon="/Intersoft.ClientUI.Samples.WindowControls;component/Images/userdesktop.png"&amp;gt;
    
&amp;lt;/Intersoft:UXWindow&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;For more detail information, please check the detail information in the &lt;a href="http://www.intersoftpt.com/Support/ClientUI/Docs/Intersoft.Client.UI.Aqua.UXDesktop~Intersoft.Client.UI.Aqua.UXDesktop.UXWindow~WindowStartupLocation.html" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;This should help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Positionning Multiple windows to make them stick together like beeing groupped</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Positionning-Multiple-windows-to-make-them-stick-together-like-beeing-groupped/</link><pubDate>Fri, 14 Jun 2013 09:06:03 GMT</pubDate><dc:creator>TheHaythemKaroui</dc:creator><category>windows</category><category>Positionning</category><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;Do you have an idea about how can set the startUp Position of a window:&lt;/p&gt;
&lt;p&gt;The default positions are center screen center owner and auto like in the "DefaultPositon.png" joined.&lt;/p&gt;
&lt;p&gt;I want for example the 3 windows to be every time positioned Like in "LikeThis.png ".&lt;/p&gt;
&lt;p&gt;And on moving one of the windows the 2 others will always stick in that position.&lt;/p&gt;
&lt;p&gt;Can anyone help me please?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Waiting forward for your answer&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;KAROUI Haythem&lt;/p&gt;</description></item></channel></rss>