This project is read-only.

Apply window theme to toolbox windows?

Nov 26, 2010 at 11: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 3:02 AM

Inherit from RibbonWindow instead of Window

Nov 27, 2010 at 8:26 AM

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

Nov 27, 2010 at 2: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 8:58 AM

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