C1DockingTab ShowItemList help

Posted by: burakkgulnarr on 24 November 2020, 2:19 am EST

  • Posted 24 November 2020, 2:19 am EST

    Hello, when I select a tab in C1DockingTab itemlist, I want that tab title not to be selected. How do I do this?
  • Replied 24 November 2020, 2:26 am EST

    so I want itemlist clickled = C1DockingTabPage1 then C1DockingTab1.SelectedTab = C1DockingTabPage1.Headers.Focus
    So I want it to appear on the screen with the title of the selected tab in itemlist, with which code I can provide it thanks
  • Replied 24 November 2020, 10:55 pm EST

    Hi,

    As per my understanding, you don’t want the tab header to show as selected. To do this, you can custom draw the tab button using the DrawTab event. You can handle this event and draw every tab button as same so when you select a tab it won’t be shown as selected in the tab.
    Please refer to the sample attached.
    If you meant something else then please provide us with some samples or images so we can understand better and help you accordingly.

    Regards,
    Prabhat Sharma.
    C1DockingTabTitle.zip
  • Replied 25 November 2020, 12:45 am EST

    thank yo.I'm sharing pictures
  • Replied 25 November 2020, 12:54 am EST

    The title of the selected tab appears on the screen when the tab is selected in the TabList as in the picture1 and picture2 that I want.
    I don't want it to be like in picture3
    thanks
  • Marked as Answer

    Replied 25 November 2020, 6:49 pm EST

    Hi,

    You can achieve this by handling the SelectedIndexChanged event of DockingTab and then use the ScrollToSelectedTab() method in that event to make the Docking Tab scroll to the selected Tab.
    Please refer to the sample attached. If you have any further questions, please let me know.

    Regards,
    Prabhat Sharma.
    C1DockingTabTitle.zip
  • Replied 26 November 2020, 8:05 pm EST

    Thank you this was what I wanted
Need extra support?

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

Learn More

Forum Channels