This is a migrated thread and some comments may be shown as answers.

Floating/pinned window problem

3 Answers 158 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Carisch
Top achievements
Rank 1
Carisch asked on 08 Oct 2007, 04:34 PM
I've searched the forum, but can't seem to find what I'm looking for with regard to the dockingmanager control.

I want a floating/pinned/unpinned window on the left.  The rest of the form should be my main form.  I DO NOT WANT a tab, with the name of this form on top.  How can I get rid of this tab space, and the tab itself.  I've tried.

dockingManager1.TdiContainerVisible = false;  
dockMain.DockableTab.Visibility = ElementVisibility.Hidden;  
dockMain.TabStripVisible = false;  
 
where the dockingmanager is named dockingManager1, and the documentPane that I want to not have a tab is named dockMain.  The best this does, is hide the tab, but not the tab strip.  Then after the form state changes, the tab shows up again.

Please help, thanks,


Brian.

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 09 Oct 2007, 03:07 PM
Hello Brian,

DocumentPane is just like Visual Studio's 'Document' window, i.e. it has tabbed document behavior. I think you would be better off if you use DockPanel's IDockable object instead of DocumentPane. The DockPanel is like VS's 'ToolWindow' and can pin/unpin/float the windows in a docking manager.

I hope this was helpful.


Greetings,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Carisch
Top achievements
Rank 1
answered on 10 Oct 2007, 06:33 PM
My left "window" is a dockpanel.  It forces me to have a dockumentPane on the right. 

Let me step back for a moment.  I already have a parent form that is using the dockable control to manage my MDI in a tabbed format.  This inner form now has tabs within it.  This is not what I want.  I want the inner form to only have a pinnable window on the left, and the rest of the form not tabbed, not pinnable, not floatable, not dockable. 

Do you have any other ideas?
0
Julian Benkov
Telerik team
answered on 11 Oct 2007, 11:41 AM
Hi Brian,

The solution for this scenario is the following:
  1. Add a MS SplitContainer control in your inner form
  2. In the left split panel add a docking manager
  3. Add a DockPanel with the following properties set to false:
    • TabStripVisible = false
    • DropDownButtonVisible = false
    • CloseButtonVisible = false.
Let us know if you have other questions.

 
Regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Carisch
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Carisch
Top achievements
Rank 1
Share this question
or