Hi,
I have a control that is opened as a floating HostWindow. This control is composed of a RadPageView and a RadPanel and all these elements have the margins and paddings set to 0. Also, BorderStyle properties are set to None but I still see the borders there (see image attached).
There is any way to remove these borders?
I have a RadDock with several MdiChildren/DockWindows. When the user closes one of the tabs I want the focus to be set to the previously active tab.
In the ActiveWindowChanged event I remeber the previous active tab.
I've tried both the radDock.ActivateMdiChild(Form) and radDock.ActivateWindow(DockWindow) methods
What am I missing?
bool exists = (Array.IndexOf(radDock.MdiChildren, _currentMdi) != -1);
if (!exists && _prevMdi != null)
{
_currentMdi = null;
_currentDockWindow = null;
//radDock.ActivateMdiChild(_prevMdi);
radDock.ActivateWindow(_prevDockWindow);
}
_prevMdi = _currentMdi;
_currentMdi = (Form) ((HostWindow) e.DockWindow).Content;
Hello!
RadPageView has a setting called "ItemSpacing" that adjusts the gap between RadPageViewPage controls.
Is there any way to get a similar result for RadDock?
Cheers!
C
Hello.
I am using RadRibbonBar (Main Form). I have multiple buttons in ribbon. Each button has different forms. I want dock them inside its Main Form on click. here is an example in below screenshot. I am unable to achieve the requirement.
Please note: The child form should dock exactly below the ribbon form. and also, the cross button (child form close button) should be present right after the tab (Child form name).
Please attach a zip file with a source code.
Thanks
Hello everyone! These days, I am doing some research with the RadDock control and encountering a difficulty when I'm trying to completely remove the borders and visually merge individual DockWindow elements. As far as I can see, achieving this requires removing some additional spitter elements, but I haven't had much success so far.
I would appreciate your help with this.
Kind Regards,
Simeon
Hi,
We have a RadDock with multiple open documents (of type DocumentWindow), like the attached "DocumentsLayout" image.
These documents belong to a specific parent (what we call the "MainFolder"). Once the "MainFolder" is closed, we have a process that closes all opened documents and saves some metadata, including which documents were opened (currently we only save the names of those documents). We want to be able to restore the docking layout and restore the location of those previously opened documents, but we are not sure how to.
Currently, once we get the list of documents that we want to reopen, we restore them with:
public void RestoreDocuments(RadDock radDock, IEnumerable<DocumentWindow> documents)
{
foreach (DocumentWindow document in documents)
{
radDock.AddDocument(document);
}
}
But of course the docking layout is lost, and all documents are added to the default DocumentTabStrip (even floating ones were added to the main one).What is the best way to achieve this? We also care about the order they were originally located within the tab strips (i.e. in the image, Document 2 on the left and Document 1 on the right)
Note: We are using version 2018_3_911, but we can upgrade if necessary.
Thank you for your help.
In the image below I have five DocumentWindow (state names) and a ToolWindow (Properties). Following this steps, the ActiveWindowChanged event is called twice from different windows:
This is making the application shows the Colorado properties instead of the California properties.
Is this the expected behavior? Is there a way to fix it?
I am using UI.for.WinForms.AllControls.Net40 v2022.3.921
When I add a new document window as such: docContainer.DockManager.AddDocument(newPage)
The tabstrip that it is created on, the new tab always appears first in the tab list. I'd like it to appear on the end of all current tabs (the right in my case). I can't figure it out, any help would be appreciated!
On a brand new Winforms project,
1/ Added 1 RadDock, Dock = Fill
2/ In RadDock Advanced Layout Designer, Add several toolwindows using Dockfill new ToolWindow
3/ Save and close Designer
4/ Run Project
When any toolwindow is moved to attempt to dock it freezes with the compass showing but no windows can be moved or docked. Attached image shows frozen state. No errors or anything raised
This is in Windows 11 with net6.0. Is this a bug or am I doing something wrong?