Change Radwindow Icon

3 posts, 0 answers
  1. Michele
    Michele avatar
    11 posts
    Member since:
    May 2009

    Posted 30 May 2009 Link to this post

    Thank's for your help about Radwindow Theme.
    Now I have another question. I can not setting my custom Icon in the Window Title bar....
    I tried to set the 'Icon' attribute:

     

     

    <telerik:RadWindow x:Name="wndSample"   Icon="Images/myPng.png"

     

    but it don't work.

    Can you give me some help?
    Thanks, Michael

     

     

     

     

     

     

     

     

     

     

     

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 02 Jun 2009 Link to this post

    Hi Michele,

    This is not right way to set the Icon of the RadWindow. First of all you should change the IconTemplate of the RadWindow control, because the default one contains the default Icon. As we know this is not expected we changed this behavior and you won't need to do that any more.

    To make this work in the current version do the following:
    <telerik:RadWindow x:Name="wndSample" IconTemplate="{x:Null}"
        <telerik:RadWindow.Icon> 
            <Image Source="Images/myPng.png" /> 
        </telerik:RadWindow.Icon> 
    </telerik:RadWindow> 

    In the next version you will not need the part - IconTemplate="{x:Null}".

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. DevCraft banner
  4. Michele
    Michele avatar
    11 posts
    Member since:
    May 2009

    Posted 02 Jun 2009 Link to this post

    Thank You, Miroslav

    Now it's working very well.

    Michele
Back to Top