May 20, 2014 at 5:44 PM
Edited May 20, 2014 at 5:46 PM
Ok after a full day trying to understand whats happening i think it's time for me to admit the defeat and formally request for help. I will, however, share my findings.
Using Fluent Ribbon Control Suite 2.1.0 - Prerelease i i've noticed that when maximizing a window the "glass bar" would become black and therefor hiding the Minimize/Maximize/Close buttons. This happens only if the window is maximized by the user.
If i set the WindowState to Maximized it works ok (until the user minimize/maximize the window again)
This can be seen here
However i noticed that Fluent Test works
Another difference i've noticed is the color scheme: my window glass bar is green (i suppose it will read from the windows settings since my taskbar is also the default green color) and the Fluent Test glass bar is white, just how i wanted it to be. that made
me think that, since i'm using a beta product, it could be something related to the Theme so i downloaded the last commit ( commit 041a958b93bb, abr 14, 2014 ) files and used that Theme folder instead but same issue.
From there i've started reading the Fluent Test files and noticed a few differences:
/// Interaction logic for Main.xaml
public partial class Main : RibbonWindow
Fluent Test uses
/// Interaktionslogik für MetroStyle.xaml
public partial class MetroStyle
Also noted the addition of
From there it was clear some significant changes have been made since the last build. So i build the solution and referenced the new Fluent.dll instead. Changed the XAML code accordingly and read it a dozen times to make sure no typos or similar where present.
I've built my application, fully confidante that my issue was solved just to be disappointed...this time i got a huge black window, just like if i had no Theme even though i referenced it in my App.xaml
<!--Attach Default Fluent Control's Theme-->
<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Generic.xaml" />
<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Metro/White.xaml" />
<ResourceDictionary Source="/Resources/Icons.xaml" />
I'm referencing the NuGet package Themes while using a different dll so i didn't complain that does make sense. I've copied the Themes folder from the source code, pasted it in my project, changed the Resources to my local files and crossed my finger while
compiling my application...
This time i stumble upon 129 Errors...come'on!
By then i was running out of ideas...i tried adding the Fluent project to my solution instead of referencing the dll but no luck. That's it, i don't know what else to do instead of praying for a developer with some spare time to read this...
I'm no expert and my knowledge of WPF is limited - 2 days experience lol - but i've done all i could to solve it on my own. Hopefully some one else can help me as i can't do it by myself...