This is a migrated thread and some comments may be shown as answers.
RadRibbonTab.HeaderVisibility
2 Answers 35 Views
This is a migrated thread and some comments may be shown as answers.
Iosu Buenetxea
Top achievements
Rank 1
Iosu Buenetxea asked on 26 Jul 2011, 08:49 AM
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 Answers, 1 is accepted

Sort by
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 26 Jul 2011, 08:54 AM
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);
 
       }
0
Petar Mladenov
Telerik team
answered on 29 Jul 2011, 08:52 AM
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!

Asked by
Iosu Buenetxea
Top achievements
Rank 1
Answers by
Iosu Buenetxea
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or