I've discovered a behavioral issue with the tool-window when one of its containing control's data-binding is updated. I'm designing an application using the MVVM design pattern with a basic View and View-Model. The View is a form that contains a RadDock, ToolWindow containing a Label, and a Button to update the Label's Text; and data-binding setup to the ToolWindow's property "DockState" and a Label's property "Text". The View-Model contains the bound properties "ToolWindow1DockState" and "Label1Text", which implements INotifyPropertyChanged to update the respective controls; and a method used to update Label1's text. After I click "Auto-hide" on ToolWindow1 and click the "Change Text" button, I'm expecting ToolWindow1 to remain in the Auto-hide state. Instead, ToolWindow1 is placed in the Docked state.
Currently tool windows cannot be re-sized proportionally in this scenario.
http://blogs.msdn.com/b/zainnab/archive/2012/06/19/visual-studio-2012-new-features-preview-tab.aspx
When you add a few DocumentWindows to RadDock and you undock one of them to a floating window, then undock another one in the same floating window you will see two tabs. In the main area the selected tab is bolded, the functionality should be the same in the floating windows For the time being use the following code to manually bold the tabs: this.RadDock.FloatingWindowCreated += RadDock_FloatingWindowCreated; ... void RadDock_FloatingWindowCreated(object sender, FloatingWindowEventArgs e) { e.Window.Controls[0].ControlAdded += Form1_ControlAdded; } void Form1_ControlAdded(object sender, ControlEventArgs e) { DocumentTabStrip tabStrip = e.Control as DocumentTabStrip; tabStrip.ControlAdded -= Form1_ControlAdded; if (tabStrip != null) { tabStrip.SelectedIndexChanged += tabStrip_SelectedIndexChanged; } } void tabStrip_SelectedIndexChanged(object sender, EventArgs e) { DocumentTabStrip tabStrip = sender as DocumentTabStrip; if (tabStrip != null) { foreach (DocumentWindow item in tabStrip.Controls) { item.TabStripItem.ResetValue(RadItem.FontProperty, ValueResetFlags.Local); } tabStrip.SelectedTab.TabStripItem.Font = new Font(tabStrip.SelectedTab.Font.FontFamily, tabStrip.SelectedTab.Font.Size, FontStyle.Bold); } }
IMPROVE: RadDock - currently when middle click is executed the ActiveWIndows closes instead of the clicked one
Currently it is not possible to customize the tool window animation and there is no animation when closing the tool window. Resolution: Set the AutoHideAnimation and the AutoHideAnimationDuration properties of RadDock
The ShowAutoHidePopup method should enable showing auto hidden pop-ups.
There should be mechanism for specifying which windows should be saved by the SaveToXml method. Resolution: You need to subscribe to the DockWindowSerializing event to prevent saving of window. Please refer to the following code example: void radDock1_DockWindowSerializing(object sender, DockWindowCancelEventArgs e) { if (e.NewWindow.Text == "WindowName") { e.Cancel = true; } }
It will be nice to have FloatingSize or DefaultFloatingSize property at a DockWindow level. This will allow the user to have a floating window with a custom default size different than 300x300.
The user should be allowed to modify the default behavior of floating windows and decide whether they should be owned by the main Form or they should act like normal Forms - with Minimize/Maximize options and appearing in the System's Taskbar.
Add the ability to programatically show AutoHidden window
Add functionality in the Advanced Layout Designer to delete ToolWindows
One possible scenario is adding an application menu button like in RadRibbonBar.
Currently auto-hidden windows are displayed under following conditions: - Associated TaItem is hovered or - Associated TabItem is clicked or - The DockWindow itself becomes the currently Active one We should allow the user to control these conditions.
Add the ability to easily turn on/off the DockingGuides
IMPROVE. RadDock - add possibility for replacing the page items in the DocumentWindows with custom ones. Resolution: Use the static class RadDockEvents to subscribe to events before InitializeComponent
When saving the layout RadDock saves the windows as they appear in the DockWindows collection. However, improvement to save the current toolwindows position will be great addition.
Currently, no images are shown in AutoHideTabs of ToolWindows. It will be a nice feature if there are such images.
There should be events firing when the AutoHideWindow pops up and collapses.