Is there a way to enable WPF RadDock to open floated windows in a standalone window rather than a ToolWindow? The feature looks like its available in the WinForms version of RadDock but not WPF RadDock.
Would this be achieved in the DockingPanesFactory?
Replacing the ToolWindow with a standard MS Window is not possible in the RadDocking control as it is widely used in its internal logic - only descendants of the ToolWindow class are allowed. Based on my understanding, the same is true for the WinForms RadDock - you can only replace the window with a control which inherits from FloatingWindow.
You can have a look at the "Floating Panes taskbar icons" demo from our SDK Samples Browser for an example of how to customize the floated windows in the WPF RadDocking control. I've also attached the project to my reply for your convenience. Here's the code of interest:
public class CustomDefaultGeneratedItemsFactory : DefaultGeneratedItemsFactory
RadWindowInteropHelper.SetIcon(window, new BitmapImage(new Uri("pack://application:,,,/FloatingPaneTaskbarIcons;component/Images/icon-default.png", UriKind.Absolute)));
public class MyToolWindow : ToolWindow
// custom logic
Would defining a custom ToolWindow work for your particular scenario? If this is not the case, could you please share some more details on your specific requirement so that I can try to suggest an alternative approach?
I will be looking forward to your reply.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.
Your attached demo is close to what I need. Are you able to make minimizing independant for the main window and for the tool window(s)? For example if I was to minimize the main window, the tool window will still remain on the screen? Another scenario would be if everything is minimized and I clicked on one of the tool windows in the task bar, only the tool window i've clicked will come into focus.