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

Visibility of a page

4 Answers 110 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Francois
Top achievements
Rank 1
Francois asked on 13 Jun 2011, 01:30 PM
Hi,

Is there a way to hide a tab without removing it from the Pages collection? Can't find a property to do that.

Thanks!

4 Answers, 1 is accepted

Sort by
0
Accepted
Alexander
Telerik team
answered on 15 Jun 2011, 10:55 AM
Hello Francois,

Thank you for your question.

You can set the Visibility of the page's Item:
this.radPageViewPage1.Item.Visibility = ElementVisibility.Collapsed;

I hope it helps you to accomplish your scenario.

Best regards,
Alexander
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Adrian
Top achievements
Rank 1
answered on 15 Jun 2011, 06:58 PM
What if you want to indicate that a certain tab has been visited or that user had finished performing work on that tab?
I have a app with more than 20 tabs and many fillable fields on those tab and I want to guide the user to the tabs that still need processing.
0
Alexander
Telerik team
answered on 20 Jun 2011, 03:35 PM
Hello Adrian,

You can change the visual appearance of a page's Item to indicate this page needs further processing. For example, you can change its BackColor:

this.radPageViewPage1.Item.DrawFill = true;
this.radPageViewPage1.Item.GradientStyle = GradientStyles.Solid;
this.radPageViewPage1.Item.BackColor = Color.Red;

I hope it helps you to accomplish your scenario.

Best regards,
Alexander
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Adrian
Top achievements
Rank 1
answered on 20 Jun 2011, 03:40 PM
Thank you! :)
Your solution worked.
Tags
PageView
Asked by
Francois
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Adrian
Top achievements
Rank 1
Share this question
or