Quantcast
Channel: Ribbon for WPF - Recent Posts
Viewing all articles
Browse latest Browse all 1458

Re: Different RibbonWindow Icon

$
0
0

Hello,

Yes, since our RibbonWindow uses a WindowChrome (one of our classes) to provide a custom user interface, you can set the window's icon to be different from the one that is normally set right on Window.  To do that, you must do this kind of thing in code-behind, after the window has been created:

var chrome = WindowChrome.GetChrome(window);
chrome.IconSource = new BitmapImage(new Uri("/Resources/Images/Properties16.png", UriKind.Relative));

The icon normally set on Window will continue to be used in the taskbar.


Viewing all articles
Browse latest Browse all 1458

Trending Articles