Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Windows task bar application icon has shrunk - XamRibbonWindow
posted

Hi,

I am using the following Infragistics dlls - InfragisticsWPF4.Ribbon.v11.1 and InfragisticsWPF4.v11.1

Whn i run this application the task bar icon has got shrunk and its origianl size defined it as 32x32 dimension.

Note:- The same application working perfectly in the older version.

Here i am pasting the XAML code

<igRibbon:XamRibbonWindow x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:WpfApplication1"
        xmlns:igRibbon="http://infragistics.com/Ribbon"
        Title="MainWindow" Height="350" Width="525"
        Icon="{Binding Source={x:Static local:MainWindow.MainMenuIconSource}}">

    <igRibbon:RibbonWindowContentHost>
        <igRibbon:RibbonWindowContentHost.Ribbon>
            <igRibbon:XamRibbon
                x:Name="_ribbon"
    Theme="Office2k7Black">
                <igRibbon:XamRibbon.ApplicationMenu>
                    <igRibbon:ApplicationMenu x:Name="_applicationMenu" Image="{Binding Source={x:Static local:MainWindow.MainMenuIconSource}}"/>
                 </igRibbon:XamRibbon.ApplicationMenu>
            </igRibbon:XamRibbon>
        </igRibbon:RibbonWindowContentHost.Ribbon>
    </igRibbon:RibbonWindowContentHost>

</igRibbon:XamRibbonWindow>

Here i am pasting the code behind:

using System;
using Infragistics.Windows.Ribbon;

namespace WpfApplication1
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : XamRibbonWindow
    {
        private static Uri _mainMenuIconSource = new Uri(@"C:\Documents and Settings\WpfApplication1\Resources\Q circle 32.png");

        public MainWindow()
        {
            InitializeComponent();
        }

        public static Uri MainMenuIconSource
        {
            get { return _mainMenuIconSource; }
        }
    }
}

 So please help me and do the needful.

Thanks in advance

Shibu Mathew

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Shibu,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

Children
No Data