RadRibbonTab.HeaderVisibility

3 posts, 0 answers
  1. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 26 Jul 2011 Link to this post

    The RadRibbonTab from Telerik.Windows.Controls.RibbonBar dll has the HeaderVisibility property, but it is not available in the new RibbonView dll.  How can I achieve the same result?  My app has just 1 ribbon tab so it is not necessary to show the header.

    Regards,


    Iosu
  2. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 26 Jul 2011 Link to this post

    Right know, I just do it by subclassing RadRibbonView and overriding OnApplyTemplate.  Is it ok?
     
    public override void OnApplyTemplate()
           {
               base.OnApplyTemplate();
     
     
               var grid = this.FindChildByType<Grid>();//finds root grid
               if (grid != null)
                   grid.RowDefinitions[1].Height = new GridLength(0);
     
           }
  3. DevCraft banner
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 29 Jul 2011 Link to this post

    Hello Iosu Buenetxea,

     We logged this in our PITS system under the name RibbonView: HeaderVisibility property of the RadRibbonTab needed and it will be soon published there. We 'll do our best to have this implemented for the next week's internal build. We also updated your telerik account points as a thank s for your cooperation.

    Greetings,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top