RadButtonGroup that is always accessible

3 posts, 1 answers
  1. Wyatt
    Wyatt avatar
    2 posts
    Member since:
    Dec 2011

    Posted 16 Feb 2012 Link to this post

    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. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 21 Feb 2012 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Wyatt
    Wyatt avatar
    2 posts
    Member since:
    Dec 2011

    Posted 22 Feb 2012 Link to this post

    Tina,

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

    Wyatt
Back to Top