Not able to add other controls as child to C1DockControl

Posted by: vinothkumar.r2210 on 21 September 2020, 6:14 pm EST

  • Posted 21 September 2020, 6:14 pm EST


    I have C1DockControl in my window. It accepts only C1DockGroup and C1DockTabControl as valid children's. I am not able to add other controls. Kindly let me know the reason behind it and please let me know if there is any alternate control to achieve docking tab control functionalities.

    Thanks and Regards,
    Vinoth Kumar Ravi
  • Marked as Answer

    Replied 22 September 2020, 6:31 pm EST

    Hi Vinoth,

    C1DockControl simulates the docking system of MS Visual Studio. In a docking application, user may change docking of items on the fly and hence is the need of unified containers. C1DockTabControl/C1DockGroup servers the same purpose and therefore the structure is by design.

    So, in general, you would add your element/content as follows:

    <c1:C1DockTabItem Header="Tab 1">
    <!--Add controls or content here-->
    <c1:C1DockTabItem Header="Tab 2">
    <!--Add controls or content here-->

    You may refer for better understanding of this structure. Do you have any specific need, please let us know the same.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels