Apply window theme to toolbox windows?

Nov 26, 2010 at 10:09 PM



How can I apply the main ribbon window border theme to other toolbox windows in my project? (without adding a ribbon to them)



Nov 27, 2010 at 2:02 AM

Inherit from RibbonWindow instead of Window

Nov 27, 2010 at 7:26 AM

How do I do that sorry? I'm using VS 2010 VB.NET

Nov 27, 2010 at 1:44 PM

Sorry do not have time to study VB but know some basics, here is a simple example

open up your custom window code behind file (MyWindow.xaml.vb)

find where it is like Public Partial Class MyWindow Inherits System.Windows.Window

and change it to be like Public Partial Class MyWindow Inherits Fluent.RibbonWindow

and in the file (MyWindow.xaml) you will need to change the start and end tags from <Window & </Window to <Fluent:RibbonWindow & </Fluent:RibbonWindow

you may need to add "xmlns:Fluent="clr-namespace:Fluent" or similar into the header.

Nov 29, 2010 at 7:58 AM

RibbonWindow is designed for the main window of Fluent application. Toolbox/dialog styles are not supported.