CustomType class changed as C1DockTabControl when dock mode changed

Posted by: vinothkumar.r2210 on 4 October 2020, 10:54 pm EST

    • Post Options:
    • Link

    Posted 4 October 2020, 10:54 pm EST

    Hi,

    I have created custom control (i.e. DockTabControl) by extending C1DockTabControl. Once created, I have added the custom controls in C1DockControl. Whenever I am iterating C1DockControl items it returns the same type which I have created. But when I drag any DockTabControl and dock in other DockTabControl the case is completely changed. C1DockControl items returns C1DockGroup and C1DockControls inside that. This is unexpected behavior. I want the same Custom control type should be retained when the dock mode changed.

    Please find the attached source file and kindly do the needful.

    Thanks and Regards,

    Vinoth Kumar Ravi

  • Posted 4 October 2020, 11:04 pm EST

    Hi,

    Kindly check with ItemDockModeChanged event and try to access C1DockControl items then the difference can be identified.

    Thanks and Regards,

    Vinoth Kumar Ravi

  • Posted 5 October 2020, 8:49 pm EST

    Hi Vinoth,

    It is by-design, as explained earlier. For details, please refer the comment posted here: https://www.grapecity.com/forums/wpf-edition/events-get-unsubscribed-af#hi-vinoththis-is-expected-

    Thanks,

Need extra support?

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

Learn More

Forum Channels