Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Dock > Creating horizontal tab group programmatically ?

Not answered Creating horizontal tab group programmatically ?

Feed from this thread
  • Thomas avatar

    Posted on Dec 3, 2011 (permalink)

    Hello,

    I would like that when I add some specific MDI child to the RadDock programatically it gets displayed int a new horizontal tab group instead of a new tab. Is this possible ? And how ?


    Thank you.

    Reply

  • Julian Benkov Julian Benkov admin's avatar

    Posted on Dec 7, 2011 (permalink)

    Hi Thomas,

    To create a new horizontal tab group with new document, you must add a new document instance to Bottom. Here is a simple example. The 'Document2' is added to new horizontal tab group:

    DocumentWindow dw = new DocumentWindow();
    dw.Text = "Document1";
    this.radDock1.AddDocument(dw);
     
    DocumentWindow dw2 = new DocumentWindow();
    dw.Text = "Document2";
    this.radDock1.AddDocument(dw2, DockPosition.Bottom);

    I hope this helps. Let me know if you need further assistance.

    Regards,
    Julian Benkov
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Dock > Creating horizontal tab group programmatically ?
Related resources for "Creating horizontal tab group programmatically ?"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]