Application Button Image Won't Display

2 posts, 0 answers
  1. Kelly
    Kelly avatar
    73 posts
    Member since:
    Apr 2011

    Posted 15 Nov 2011 Link to this post


    I've tried every way I can think of to set an application button image. In all cases, my image is displayed correctly in the xaml designer, but will not display at run time. I've tried hard-coding ApplicationButtonImageSource, binding it, and my most recent attempt uses AplicationButtonContent and looks like this:

    <telerik:RadRibbonView x:Name="Ribbon" Grid.Row="0" Title="{Binding CurrentView.Title}" ApplicationName="{Binding AppName}">
            <Image Source="/AttnHistory;component/Images/Warning32.png"/>
                <telerik:RadRibbonBackstageItem Header="New View" Command="{Binding NewButton}" IsSelectable="False" Icon="/AttnHistory;component/Images/Ribbon/page_add.png"/>
                <telerik:RadRibbonBackstageItem Header="Open View" IsDefault="True">
                    <StackPanel Margin="15 15 0 0">
                        <TextBlock Text="Stored Views" FontSize="14" FontWeight="Bold" Margin="0 0 0 2" />
                        <Rectangle Height="1" Fill="{StaticResource DottedLineBrush}" />
                        <ItemsControl ItemsSource="{Binding StoredViews}" Margin="0 4 0 0" ItemTemplate="{StaticResource StoredViewTemplate}"/>

    This, too, results in an empty tab. No doubt I'm missing something simple.  I noticed that your RibbonView Word demo uses both ApplicationButtonImageSource and ApplicationButtonContent, and only the image is displayed. When I set both properties, only the ApplicationButtonContent is displayed. I'm using version 2011.2.920.1040 of RibbonView.

    Thank you,
  2. Kelly
    Kelly avatar
    73 posts
    Member since:
    Apr 2011

    Posted 17 Nov 2011 Link to this post

    Ooops, never mind. This was user error, not a RibbonView problem. Thank you!
Back to Top