Hide Button of CollapsiblePanel

2 posts, 0 answers
  1. Ali Mohamad
    Ali Mohamad avatar
    15 posts
    Member since:
    Oct 2009

    Posted 24 Jan 2015 Link to this post

    Hi,

    Is there a way to hide the Expand/Collapse button and the recover the space it takes? I would be replacing its functionality with code that expands and collapses the panel, i.e. no need for the button..

    Thank you
    Ali
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 26 Jan 2015 Link to this post

    Hi Ali,

    Thank you for writing.

    Here is how to hide the header element of the collapsible panel:
    radCollapsiblePanel1.CollapsiblePanelElement.HeaderElement.Visibility = ElementVisibility.Collapsed;

    I hope this helps.

    Regards,
    Stefan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top