PageView Hidden content

4 posts, 0 answers
  1. Flávio
    Flávio avatar
    16 posts
    Member since:
    Jun 2011

    Posted 16 Aug 2011 Link to this post


       I'm creating a PageView where I need to set Hidden in all content.
    I set the src bellow for when the window show, the PageView1 load in hidden mode, but isn't worked.
    this.PageView1.Item.Visibility =  ElementVisibility.Hidden;

    I'd like know how to do load the PageView1 and your content in hidden mode?

    Thanks Attention!
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 19 Aug 2011 Link to this post

    Hello Flávio,

    Thank you for writing.

    I am not quite sure which area you would like to hide. This is why, I am providing you with code to hide both the whole RadPageView control and one page item:
    //to hide the whole control
    radPageView1.Visible = false;
    //to hide just a page item
    radPageViewPage1.Item.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

    I hope that you find this information helpful. Let me know if you have further questions.
    Best wishes,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. Yaroslav
    Yaroslav avatar
    24 posts
    Member since:
    Nov 2011

    Posted 25 Apr 2012 Link to this post

    Great, worked perfect for me.
  4. Stefan
    Stefan avatar
    2911 posts

    Posted 27 Apr 2012 Link to this post

    I am glad that you find the provided information useful. Let us know if you have any other questions.

    All the best,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top