Visibility of a page

5 posts, 1 answers
  1. Francois
    Francois avatar
    52 posts
    Member since:
    Dec 2010

    Posted 13 Jun 2011 Link to this post

    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!
  2. Answer
    Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 15 Jun 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Adrian
    Adrian avatar
    6 posts
    Member since:
    May 2009

    Posted 15 Jun 2011 Link to this post

    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.
  5. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 20 Jun 2011 Link to this post

    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.
  6. Adrian
    Adrian avatar
    6 posts
    Member since:
    May 2009

    Posted 20 Jun 2011 Link to this post

    Thank you! :)
    Your solution worked.
Back to Top
UI for WinForms is Visual Studio 2017 Ready