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

Contextual Tab Behavior

12 Answers 186 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kelly
Top achievements
Rank 1
Kelly asked on 09 Nov 2011, 01:31 AM
Is there a simple way to get rid of the extra visual baggage that comes with Contextual tabs? I would like the convenience and simplicity of the IsActive property that comes with Contextual tabs, but I want all of my tabs to look alike. I don't want the extra header or the random colors.

If I can't easily turn it off, then is there a simple way to make all of my tabs behave like contextual tabs? That is, I would like to be able to make them visible/invisible when a particular contextual item is selected. I tried the Visibility property of the RibbonTab to no avail.

Thank you

KO

12 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 10 Nov 2011, 09:52 AM
Hi Kelly,

 You can easily change both styles related to contextual tabs - ContextualGroupsStyle and ContextualTabsStyle. Both are properties of the RibbonView, so you can set them to your preferred visual style (You can use Blend to get the default styles and modify them). You can clean them a bit if you need cleaner style. Please let me know if you need assistance doing it. 

Greetings,
Miro Miroslavov
the Telerik team

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

0
Kelly
Top achievements
Rank 1
answered on 14 Nov 2011, 11:39 PM
Is there any way I could just get the Visibility property of the RibbonTab to work? All I want to do is hide a tab based on a boolean in my model. Thanks.
0
Petar Mladenov
Telerik team
answered on 17 Nov 2011, 04:29 PM
Hi Kelly,

 You can find this realized for the RadRibbonView from Q3 2011. Please let us know if this is what you need.

Regards,
Petar Mladenov
the Telerik team

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

0
Kelly
Top achievements
Rank 1
answered on 17 Nov 2011, 05:40 PM
Petar,

That worked like a charm. Thank you!

KO
0
Kelly
Top achievements
Rank 1
answered on 17 Nov 2011, 06:02 PM
Petar, I spoke too soon. Changing the RibbonView's Tab Visibility to Collapsed makes the tab disappear, but its contents remain visible. See attached captures. I can hide the contents by selecting another tab programmatically, but in some cases, I'll only have the one tab. In that case, the contents of the collapsed tab are visible forever.

Thank you, KO
0
Accepted
Petar Mladenov
Telerik team
answered on 22 Nov 2011, 03:27 PM
Hi Kelly,

 We managed to reproduce this issue and we logged it in our PITS. We'll try to have this fixed for the Q3 Service Pack. Your telerik account points are updated as a thanks for your cooperation.
Please excuse use for the inconvenience caused.

Kind regards,
Petar Mladenov
the Telerik team

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

0
Daniel Vaughan
Top achievements
Rank 1
answered on 07 Dec 2011, 10:19 PM
Hi Miro,

The metro theme doesn't look very nice with the default contextual group tab template with the RadRibbonView. I customized the template but it looks like the highlight colors (red, blue, green etc.) are set programmatically. 

How can I change or turn off the highlighting.

Cheers,
Daniel
0
Petar Mladenov
Telerik team
answered on 12 Dec 2011, 06:17 PM
Hello Daniel Vaughan,

 The RadRibbonView control follows strictly an MS Guidelines document for creating a Ribbon-like controls with the Office 2010 "look and feel". Unfortunately, the backgrounds of the RadRibbonContextualGroup's Header are fixed and they cannot be changed.

Kind regards,
Petar Mladenov
the Telerik team

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

0
Daniel Vaughan
Top achievements
Rank 1
answered on 13 Dec 2011, 05:06 PM
Hi Petar,

It's a shame because it effectively means that the RibbonView is not compatible with most of the styles. It's easy to disable the header color, but I have had much luck with the actual tab color.

Cheers,
Daniel
0
Tina Stancheva
Telerik team
answered on 15 Dec 2011, 10:33 AM
Hello Daniel Vaughan,

I am not sure if we're talking about the same thing since I believe we might have misunderstood your issue.

Basically the RadRibbonContextualGroup control exposes a Color property to allow you to specify a color for the group. This color will not only be applied to the group's header, but to the header's of the tabs in this group. If the Color property isn't set, a list of predefined colors is used to colorize each ContextualGroup and its contextual tabs. You ca find more information about the Color property in our documentation.

Also, as Petar noted the RadRibbonView control follows the MS 'ribbon UI' guidelines however, we are trying to expose properties to allow you to customize this default look to better fit your scenario requirements and design. This is why we'll highly appreciate any suggestions on how to further expand the RadRibbonView customization dimensions.

Greetings,
Tina Stancheva
the Telerik team

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

0
Daniel Vaughan
Top achievements
Rank 1
answered on 28 Dec 2011, 07:14 PM
Thanks Tina. That's what I was looking for.

Cheers,
Daniel
0
Vladislav
Telerik team
answered on 29 Feb 2012, 02:34 PM
Hi,

We want to inform you that this issue is fixed in our latest official 2012 Q1 release.
It will be great if you can give it a try and let us know if it works for you.

On a separate note, I'd like to let you know that there are 5 brand new controls that we included in this release:
- Diagrams (Beta)
- GanttView (CTP)
- TimeLine
- ListBox (Beta)
- DataBar
When you have time, you can give them a try as we will highly appreciate your feedback.


Regards,
Vladislav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RibbonView and RibbonWindow
Asked by
Kelly
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Kelly
Top achievements
Rank 1
Petar Mladenov
Telerik team
Daniel Vaughan
Top achievements
Rank 1
Tina Stancheva
Telerik team
Vladislav
Telerik team
Share this question
or