Hiding controls in DockTabItem ToolBar

Posted by: vinothkumar.r2210 on 10 May 2020, 4:32 pm EST

    • Post Options:
    • Link

    Posted 10 May 2020, 4:32 pm EST

    Hi,

    I want to hide pinbutton and dropdownbutton in docktabitem toolbar. I made StackPanelButtons visibility collapsed in ContentTemplate. But while loading still toolbar buttons getting displayed in docktabitem.

    Thanks and Regards,

    Vinoth Kumar Ravi

  • Posted 11 May 2020, 6:00 pm EST

    Hi Vinoth,

    To hide the dropdown button for defining the dock state of the DockTabItem, set the ShowMenu property to False of the parent DockTabControl.

    Similarly, to hide the pin button, set the CanUserDock and CanUserSlide properties to false.

    Thanks,

    Ruchir

  • Posted 13 May 2020, 1:00 am EST

    Hi Ruchir,

    It’s working fine. Thanks for the reply.

    Thanks and Regards,

    Vinoth Kumar Ravi

Need extra support?

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

Learn More

Forum Channels