Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PageView > Hide title in explorer view

Answered Hide title in explorer view

Feed from this thread
  • Gérald avatar

    Posted on Aug 29, 2011 (permalink)

    Hello,

    I'm using the RadPageView component with the "explorerBar" ViewMode.
    I'd like to hide the title bar which indicates the active page, but I didn't found any usefull property, nor any UI element in the Visual Style Builder.

    How should I do this ?

    Best regards
    Patrice

    Reply

  • Answer Ivan Petrov Ivan Petrov admin's avatar

    Posted on Sep 1, 2011 (permalink)

    Hello Gérald,

    Thank you for writing.

    You can hide this element using the following code snippet:

    RadPageViewExplorerBarElement explorerElement = this.radPageView1.ViewElement as RadPageViewExplorerBarElement;
    RadPageViewLabelElement labelElement = explorerElement.Children[1] as RadPageViewLabelElement;
    labelElement.Visibility = ElementVisibility.Collapsed;

    You have to do it in the form constructor in order for it to work.

    I hope this will help you. If you have further question, I would be glad to help. Best wishes,
    Ivan Petrov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Gérald avatar

    Posted on Sep 1, 2011 (permalink)

    Works great, thanks..

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PageView > Hide title in explorer view