iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
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?
You can try modifying the Maximize and Minimize behavior during WindowStateChanged event handler in the UXWindow as discussed in this thread.
Any suggestions?
Chris,
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.
The good news is the TaskBar property in UXDesktop is defined with ITaskBar 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 here.
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:
public interface ITaskBar : IAnimationProvider { Dock DockPosition { get; set; } ISItemsControl Owner { get; set; } Point GetPositionOffset(); Size GetSizeBoundary(); WindowStateData GetWindowStateData(string targetState); bool PerformWindowOperation(IWindow window, string operation); bool PrepareWindowOperation(IWindow window, string operation); }
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).
The PrepareWindowOperation and PerformWindowOperation 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).
The GetPositionOffset and GetSizeBoundary 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.
Note: The interface is defined in Intersoft.Client.Framework assembly.
Hope this helps,Jimmy
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.
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?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname