Hi!
For the floating container the FormBorderStyle is set to SizableToolWindow. This style doesn't let us to make visible the maximaze button.
I try do get the form after the creation of the floating site and change this property to Sizable and MaximizeBox = true but this leads sometimes to nasty effects at the redrawing of the dockpanel.
Wouldn't be posible to give us more flexibility? For example, to have the posibility to set from a property on the docking manager how the floating containers related to it would look like? As far as I know this is not posible now and it would by something useful for what I need to do.
Regards
5 Answers, 1 is accepted
0
Hello Liviu,
Thank you for your suggestion.
The DockingManager works with floating ToolWindows, just like VS2005 tools. We are not sure that we will change this behavior to support minimize/maximize/close buttons, because it makes no sense to maximize the tools window.
May be you are in need of TabbedDocument layout, or even MDI:
Still, if we have other clients who need Minimize, Maximize, Close functionality in RadDock, we will consider adding the feature.
I hope this helps.
Regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for your suggestion.
The DockingManager works with floating ToolWindows, just like VS2005 tools. We are not sure that we will change this behavior to support minimize/maximize/close buttons, because it makes no sense to maximize the tools window.
May be you are in need of TabbedDocument layout, or even MDI:
- In TabbedDocument layout, the idea is the same as the documents you open in VS2005, which support Close functionality. The documents appear in a tabstrip fashion on top, or on the side. You can review the TabbedDocument example under RadDock section for more information on this layout.
- MDI, on the other hand, is the layout you would see in Word, Excel and Photoshop when you open multiple documents. There you have minimize, maximize and close buttons. Our RadRibbonBar support MDI layout and you can review the respective example under RadRibbonBar section.
Still, if we have other clients who need Minimize, Maximize, Close functionality in RadDock, we will consider adding the feature.
I hope this helps.
Regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
liviu
Top achievements
Rank 1
answered on 17 Sep 2007, 01:14 PM
My application is intented to work on multiple screens. This means I can have the dockingManager on a screen and one of its floating panels on another screen. I just look for an easy way to make this floating panel as big as its screen. I'm not interested in the mdi behaviour.
I hope you will take this in consideration.
Thanks.
0
Hi Liviu,
Thank you for writing. We do need to provide more clarity in how to make the RadDock manager work in scenarios such as yours. Your feedback is important as it allows us to most rapidly discover aspects of our product we can improve to serve you better.
In order to achieve the desired functionality, please use the code snippet below:
I hope this helps.
Greetings,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for writing. We do need to provide more clarity in how to make the RadDock manager work in scenarios such as yours. Your feedback is important as it allows us to most rapidly discover aspects of our product we can improve to serve you better.
In order to achieve the desired functionality, please use the code snippet below:
Form floatingForm = dockPanel1.DockingSite.Host as Form; |
if (floatingForm != null) |
{ |
floatingForm.FormBorderStyle = FormBorderStyle.Sizable; |
floatingForm.MaximizeBox = true; |
floatingForm.MinimizeBox = true; |
} |
I hope this helps.
Greetings,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
liviu
Top achievements
Rank 1
answered on 19 Sep 2007, 10:57 AM
Hi!
This is the solution I am using for the time being as I had said in the message that started this thread.
But...
If I have a dockPanel docked normally in a dockingManager and drag it as a floating element I have to change the floating container style in the DockingStateChanged event of the dockingManager. At least, I didn't find another solution. And this leads to the firing of the resize event for many,many times and the repeated redrawing of the dockPanel and a nasty flickering....
So I really hope for a better solution in the near future.... :)
Regards
This is the solution I am using for the time being as I had said in the message that started this thread.
But...
If I have a dockPanel docked normally in a dockingManager and drag it as a floating element I have to change the floating container style in the DockingStateChanged event of the dockingManager. At least, I didn't find another solution. And this leads to the firing of the resize event for many,many times and the repeated redrawing of the dockPanel and a nasty flickering....
So I really hope for a better solution in the near future.... :)
Regards
0
Hi Liviu,
We have added these issues to our to do list for feature releases. Thank you for all of your suggestions so far. Please do not hesitate to contact us with any additional ideas you might have.
All the best,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have added these issues to our to do list for feature releases. Thank you for all of your suggestions so far. Please do not hesitate to contact us with any additional ideas you might have.
All the best,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center