IconTemplate and icon on taskbar is not the same

4 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 29 Feb 2012 Link to this post


    I'm using RadWindow in my project and for each of them I set the following in my xaml:

                <Image Source="Resources/About_32x32.png" Height="24" Width="24" Stretch="Fill" Margin="0 0 3 0" />

    When my RadWindow is visible, the ico attache to my RadWindow is clearly the one I have in my IconTemplate. When I minimize my RadWindow on my taskbar, the icon on the taskwindow is the default one (a small window).

  2. Dani
    Dani avatar
    848 posts

    Posted 02 Mar 2012 Link to this post

    Hello Oliver,

    I think you are referring to an application icon. This one can be set in the Properties of your StartUp project. In the Application tab, there is an 'Icon and manifest' section, where you can link to your .ico of choice.

    I hope this helps.

    Kind regards,
    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. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 02 Mar 2012 Link to this post


    I changed what you mentionned but I still having the problem. I use a RadWindow not a standard Window. If I comvert my RadWindow to a normal Window, it work. The problem are present only with a RadWindow.

  4. N Mackay
    N Mackay avatar
    250 posts
    Member since:
    Dec 2010

    Posted 19 Apr 2013 Link to this post

    This works if anyone's interested

    Header="My Product Suite" Height="768" Width="1024" IconTemplate="{DynamicResource WindowIconTemplate}">
                   <ResourceDictionary Source="pack://application:,,,/Company.Framework.Resource;Component/SharedResources.xaml"></ResourceDictionary>
               <DataTemplate x:Key="NavTemplate">
               <DataTemplate x:Key="PreviewTemplate">
               <DataTemplate x:Key="WindowIconTemplate">
                   <Image Source="{DynamicResource shell_module_ind}" Height="24" Width="24"/>

    It doesn't like ICO files so use PNG's.
Back to Top