RibbonWindow Icon not showing up...

Ribbon for WPF Forum

Posted 17 years ago by Craig Presti
Version: 1.0.0347
Avatar
Im using the RibbonWindow as the window for my app, but I don't seem to be able to get the icon to show up on the ribbon menu button in the top left.

The XAML looks something like this:

<ribbon:RibbonWindow x:Class="Whatever.WhateverUI"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
    Background="#989697"
    Icon="App.ico"
    ApplicationName="MyAppName">    
This same icon is also applied to the Icon property inside the Application properties.

Im using Visual Studio 2008 beta2, targeting .NET framework 3.0

Any ideas?

Comments (2)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

It should load anything that a normal Window can load. Try changing it to
Icon="/App.ico" and ensure that App.ico is included as a 'Resource' in your project's root folder.

If that still doesn't work, then please send over a tiny sample project that shows the issue. However that is what we do here and it has always worked ok.


Actipro Software Support

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

I apologize... I think I misread your post before. Try setting the Ribbon.ApplicationButtonImage property to that icon too. That will control what is in the application button image. Sorry about that.


Actipro Software Support

The latest build of this product (v24.1.2) was released 14 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.