The order of tabs in not correct after RadDock save/load operation. The selected tab is always the last one.
RadDock's ToolWindow should not hide when a modal dialog is shown while working with the window. Solution: Added AutoHideWindowHiding event to RadDock to allow cancelling of the auto-hide windows hiding.
Workaround - set AutoScroll = false to Form that is being shows as MDI child
Workaround: use the RadDock.ActiveWindowChanging event instead.
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.
The issue is caused by the fact that the drop down button has its own theming in RadDock, which gets applied to the newly added button. To reproduce: protected override void OnLoad(EventArgs e) { base.OnLoad(e); RadDockEvents.TabStripItemCreating += RadDockEvents_TabStripItemCreating; AddDock(); ThemeResolutionService.ApplicationThemeName = "VisualStudio2012Dark"; } void RadDockEvents_TabStripItemCreating(object sender, TabStripItemCreatingEventArgs args) { RadDropDownButtonElement btn = new RadDropDownButtonElement(); btn.Margin = new System.Windows.Forms.Padding(80, 5, 5, 5); btn.MinSize = new System.Drawing.Size(50, 20); btn.Items.Add(new RadMenuItem("asasda")); args.TabItem.Children.Add(btn); } Workaround: use the themes in the attachments
To reproduce: -add a RadDock with several ToolWindows docked to one common container; -drag the container ouside the RadDock in order to create a FloatingForm, holding all of the ToolWindows; -close the FloatingForm via "X" button; -save the layout; -restart the application; -load the layout; -iterate through all of the ToolWindows and call their Show() method. Each ToolWindow is displayed in a separate FloatingForm; If you skip the step with restarting the application, all ToolWindows are shown in one common FloatingForm;
To reproduce: - Add some windows before adding loading the layout. Do not set the active window. If mDockForms Then Dim df1 As New Form Dim df2 As New Form Dim df3 As New Form df1.BackColor = Color.Red df1.Text = "Docked Form 1" df1.Name = "DockedForm1" df2.BackColor = Color.White df2.Text = "Docked Form 2" df2.Name = "DockedForm2" df3.BackColor = Color.Blue df3.Text = "Docked Form 3" df3.Name = "DockedForm3" RadDock1.DockControl(df1, Docking.DockPosition.Left) RadDock1.DockControl(df2, Docking.DockPosition.Left) RadDock1.DockControl(df3, Docking.DockPosition.Left) df1.Show() df2.Show() df3.Show() End If RadDock1.LoadFromXml(xmlfile) - Start the application, select a window and save the layout. - Load the layout and you will notice that the last window is active. Workaround: Me.RadDock1.ActiveWindow = RadDock1.DockControl(df3, Docking.DockPosition.Left) Woraround2 - Load the layout in empty RadDock and use it to retrieve the proper index: Dim rd2 As New Docking.RadDock rd2.LoadFromXml(xmlfile) For Each c As Control In rd2.Controls If TypeOf c Is Docking.ToolTabStrip Then RadDock1.ActiveWindow = CType(RadDock1.Controls(1), Docking.ToolTabStrip).TabPanels(CType(c, Docking.ToolTabStrip).SelectedIndex) End If Next
To reproduce, just hover the over the tool window, open the datetime picker and press forward, backward or any other buttons on the calendar popup and you will see the tool window closing... I'm hoping for a property to disable the closing of the toolwindow temporarily, or something that would suspend the close action...
There should be a method which hides/closes (depending on the CloseAction) a DocumentWindow. This method should be called from the DocumentWindow instance.
To reproduce set AutoDetectMdiChildren to true and add a DocumentWindow to RadDock, using the AddDocument method Workaround: 1. Set AutoDetectMdiChildren to false 2. Use HostWindow instead of DocumentWindow
To reproduce: 1.Add a RadForm with RibbonFormBehavior. 2.Add a RadDock with one DocumentWindow and a button inside the ribbon. 3.Create another RadForm with RibbonFormBehavior. 4.Use the following code snippet: public partial class Form1 : RadForm { public Form1() { InitializeComponent(); } private void radButtonElement1_Click(object sender, EventArgs e) { this.IsMdiContainer = true; this.radDock1.AutoDetectMdiChildren = true; ChildForm form = new ChildForm(); form.Text = "MDI Child 1"; form.MdiParent = this; form.Show(); } } Workaround: Set RadDock.AutoDetectMdiChildren property to false.
If you try to set this this.toolWindow4.TabStrip.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute , the TabStrip will not stay fixed if the form containing RadDock is resized. However, if you hide the main document container, this setting will start working.
Let's have a RadDock control hosting several MDI child forms. Set the MDIParent property of these forms to null. The forms will become top level windows, but the HostWindows will not be removed and RadDock will continue listening to the events of the forms. MDIChildren will still contains the forms as well.
This request concerns adding a state for the buttons in the ToolWindow caption, which will allow different theming for the buttons, when the window is active and inactive.
One should know what is the reason that causes a transaction to take place. For example, if you double-click the titlebar of a FloatingWindow to redock it in RadDock, the user should known that the reason is a double-click operation.
Let's have a form in a host window and then replace (on a button click) the form with another form, using the LoadContent() method. The text of the tab is changed accordingly, but there is no update on the text of the caption.
To reproduce: - Add three panels to a document window, add some controls to the panels as well. - Dock the panels to Top, Bottom and Fill. - Restart Visual Studio and reopen the designer.