I'm trying to add maximize, minimize and restore buttons to the header of floating radpanes. I know it's maximizeable by double-clicking the header, but there is no way to minimize, and I'll like to add both options for a better user experience.
I've been successful in adding floating panes to the taskbar using the following code by overriding DefaultGeneratedItemsFactory.CreateToolWindow:
public override ToolWindow CreateToolWindow()
{
var window = base.CreateToolWindow();
//make floating windows show in taskbar
RadWindowInteropHelper.SetShowInTaskbar(window, true);
RadWindowInteropHelper.SetIcon(window, Application.Current.MainWindow.Icon);
window.SetBinding(RadWindowInteropHelper.TitleProperty, new Binding("Header") { Source = window });
return window;
}
and I now just need to minimize/maximize/restore to work like a standard window.