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

RadButtonGroup that is always accessible

2 Answers 154 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Wyatt
Top achievements
Rank 1
Wyatt asked on 16 Feb 2012, 03:52 PM
Hi,

I have a requirement that I have a group of buttons that are always available (e.g. Help, Messaging, Refresh) and I'm looking for the best way to do this.  A couple of thoughts I had were:

1) Have a button group with the horizontal alignment set to right on each of my tabs.
-It seems that I can't mix button groups with Left and Right HorizontalAlignment.
2) Have a second RadRibbonView with no application button in the top right corner with the static button group.
The second RadRibbonView doesn't display.  If I use RadRibbonBar, I can get it do display, but it doesn't align with the other RadRibbonBar.
3) Create my own xaml to mimic the RadRibbonView
-Won't look quite right, and will be more work.

Can you tell me the best way to accomplish what I'm trying to do?

Thanks in advance,
Wyatt

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 21 Feb 2012, 01:18 PM
Hello Wyatt,

I believe that in your case it would be best to take advantage of the RadRibbonView.TabStripAdditionalContent property as it allows you to define additional content in the tabstrip. This content is positioned on the right end of the tabstrip and it is always visible:
<telerik:RadRibbonView >
    <telerik:RadRibbonTab Header="Tab1" />
    <telerik:RadRibbonTab Header="Tab2" />
    <telerik:RadRibbonTab Header="Tab3" />
    <telerik:RadRibbonTab Header="Tab4" />
    <telerik:RadRibbonTab Header="Tab5" />
    <telerik:RadRibbonView.TabStripAdditionalContent>
        <StackPanel Orientation="Horizontal">
            <telerik:RadRibbonButton Content="Help" />
            <telerik:RadRibbonButton Content="Messaging" />
            <telerik:RadRibbonButton Content="Refresh" />
        </StackPanel>
    </telerik:RadRibbonView.TabStripAdditionalContent>
</telerik:RadRibbonView>


Give it a try and let me know if it helps.

Greetings,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Wyatt
Top achievements
Rank 1
answered on 22 Feb 2012, 05:36 PM
Tina,

Thanks for the solution.  This is exactly what I was looking for.

Wyatt
Tags
RibbonView and RibbonWindow
Asked by
Wyatt
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Wyatt
Top achievements
Rank 1
Share this question
or