﻿<?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 - UXDesktop, UXWindow - minimize without associated UXDesktopDock</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXDesktop-UXWindow---minimize-without-associated-UXDesktopDock/</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>UXDesktop, UXWindow - minimize without associated UXDesktopDock</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXDesktop-UXWindow---minimize-without-associated-UXDesktopDock/</link><pubDate>Wed, 08 Dec 2010 23:34:52 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>UXWindow</category><category>UXDesktop</category><description>&lt;p&gt;You can try modifying the Maximize and Minimize behavior during WindowStateChanged event handler in the UXWindow as discussed in &lt;a target="_blank" href="../Overriding-the-maximize-window-function/"&gt;this thread&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>UXDesktop, UXWindow - minimize without associated UXDesktopDock</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXDesktop-UXWindow---minimize-without-associated-UXDesktopDock/</link><pubDate>Tue, 07 Dec 2010 10:24:10 GMT</pubDate><dc:creator>chrisaswain</dc:creator><category>UXWindow</category><category>UXDesktop</category><description>&lt;p&gt;The problem is that I need to use the UXDesktopDock control or the UXDock control for the rich "Fish Eye"-like functionality.  I am successfully using the UXDesktopDock now to show an "Applications" menu at startup and to display application instances grouped together on the taskbar like Windows 7 does.  &lt;/p&gt;
&lt;p&gt;Is there a way to override the minimize/maximize functionality of the UXDesktopDock or UXDock control so I can handle them the way I want?&lt;/p&gt;</description></item><item><title>UXDesktop, UXWindow - minimize without associated UXDesktopDock</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXDesktop-UXWindow---minimize-without-associated-UXDesktopDock/</link><pubDate>Mon, 06 Dec 2010 22:14:46 GMT</pubDate><dc:creator>jimmyps</dc:creator><category>UXWindow</category><category>UXDesktop</category><description>&lt;p&gt;Chris,&lt;/p&gt;&lt;p&gt;The UXDesktop requires the TaskBar to perform minimize and maximize command because TaskBar is responsible to "perform" the minimize logic and "determines" the largest boundary for a maximized window, this conforms to desktop UI/UX standards.&lt;/p&gt;
&lt;p&gt;The good news is the TaskBar property in UXDesktop is defined with &lt;strong&gt;ITaskBar&lt;/strong&gt; interface type, so you can actually implement any kind of task bar user interface as long as you implement the ITaskBar interface. You can learn more about the concept &lt;a target="_blank" href="../../../Support/ClientUI/Docs/AdvancedWindowFeatures.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So in your case, yes, you can do whatever you desire for your custom task bar to do when a minimize or maximize command occur. This is done in your implementation of the ITaskBar interface, which has the following signature:&lt;/p&gt;&lt;pre&gt;    public interface ITaskBar : IAnimationProvider&lt;br /&gt;    {&lt;br /&gt;        Dock DockPosition { get; set; }&lt;br /&gt;        ISItemsControl Owner { get; set; }&lt;br /&gt;&lt;br /&gt;        Point GetPositionOffset();&lt;br /&gt;        Size GetSizeBoundary();&lt;br /&gt;        WindowStateData GetWindowStateData(string targetState);&lt;br /&gt;        bool PerformWindowOperation(IWindow window, string operation);&lt;br /&gt;        bool PrepareWindowOperation(IWindow window, string operation);&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;If your task bar doesn't implement any docking capability, you may want to always set it to Dock.Bottom (considering the most common task bar position).&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;PrepareWindowOperation &lt;/strong&gt;and &lt;strong&gt;PerformWindowOperation &lt;/strong&gt;are executed consecutively when a window demands an operation in the task bar. You generally perform preparation in the PrepareWindowOperation (i.e, preparing animation and storyboard if any).&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;GetPositionOffset &lt;/strong&gt;and &lt;strong&gt;GetSizeBoundary &lt;/strong&gt;tells UXDesktop the position and the size of your task bar. You need to return the correct coordinate of your task bar location, UXDesktop automatically knows what to do when performing maximize command.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Note: The interface is defined in Intersoft.Client.Framework assembly.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;Jimmy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>UXDesktop, UXWindow - minimize without associated UXDesktopDock</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXDesktop-UXWindow---minimize-without-associated-UXDesktopDock/</link><pubDate>Sat, 04 Dec 2010 08:44:43 GMT</pubDate><dc:creator>chrisaswain</dc:creator><category>UXWindow</category><category>UXDesktop</category><description>&lt;p&gt;Any suggestions?&lt;/p&gt;</description></item><item><title>UXDesktop, UXWindow - minimize without associated UXDesktopDock</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXDesktop-UXWindow---minimize-without-associated-UXDesktopDock/</link><pubDate>Thu, 02 Dec 2010 11:09:25 GMT</pubDate><dc:creator>chrisaswain</dc:creator><category>UXWindow</category><category>UXDesktop</category><description>&lt;p&gt;I am using the UXDesktop to display UXWindow objects from a collection bound to the ItemsSource property.  I have a UXDesktopDock that I am doing custom management of window instances as sub-items of the task bar (UXStackItems) instead of showing them directly on the task bar.  As a result I don't want to associate my UXDesktopDock taskbar to my UXDesktop.  However, the minimize and maximize only seem to work when there is an associated taskbar.  How can I get around this?&lt;/p&gt;</description></item></channel></rss>