Floating/pinned window problem

4 posts, 0 answers
  1. Carisch
    Carisch avatar
    25 posts
    Member since:
    Aug 2007

    Posted 08 Oct 2007 Link to this post

    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.

  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 09 Oct 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Carisch
    Carisch avatar
    25 posts
    Member since:
    Aug 2007

    Posted 10 Oct 2007 Link to this post

    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?
  5. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 11 Oct 2007 Link to this post

    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
Back to Top