This is a migrated thread and some comments may be shown as answers.

PageView Hidden content

3 Answers 153 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Flávio
Top achievements
Rank 1
Flávio asked on 16 Aug 2011, 09:17 PM
Hi,

   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!

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 19 Aug 2011, 09:07 AM
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,
Stefan
the Telerik team

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

0
Yaroslav
Top achievements
Rank 1
answered on 25 Apr 2012, 03:25 PM
Great, worked perfect for me.
0
Stefan
Telerik team
answered on 27 Apr 2012, 02:53 PM
I am glad that you find the provided information useful. Let us know if you have any other questions.

All the best,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
PageView
Asked by
Flávio
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Yaroslav
Top achievements
Rank 1
Share this question
or