Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Open Source] WPF Modern Flat Theme - Beta

Hi, everyone. I was getting bored a few days ago, and decided to make this little project. Basically, it's a WPF theme that lets you create modern-looking programs with no hassle whatsoever. You can't resize the windows right now, but if enough people like it that I can further this project, that will be the first change I implement.

It's open source: https://github.com/UniversalFuture/wpf-modern-flat

So feel free to contribute if you want.

There are some cool things this theme includes that you might consider making use of:
  • Cool buttons, woohoo!

  • Colors from Flat UI

  • Flat textboxes and tabitems support LeftContent and RightContent, which allows you to easily add additional functionality to your controls without stressing over extra code

  • It's customizable, so you can easily change what you don't like

  • Buttons and textboxes have a Bootstrap-like type attribute, which enables them to be quickly and consistently colored




Here are some screenshots:
Spoiler (Click to View)

Usage (IMPORTANT):
When you want to use this theme, you should reference Global.xaml within your window, and bind your window's Style property to FlatWindowStyle. I know, it's a bit tedious to manually set the window's style, but whatever. We can fix that later if it's too hard. Your window should be a WpfModernFlat.Controls.FlatWindow, of course. If you use the FlatWindow without the style, you'll end up with a window with a black pit where there should be controls.

Anyways, feel free to use it in your projects, or to modify it. I would certainly appreciate any feedback, as I will probably use and expand it in the future, and I want it to become the best it possibly can be. Thanks in advance.
Nice theme, too bad I only know of 2 people in this section that actually use WPF
1 of which is no longer with us
[Image: jlscvfi.png]
Looks nice, wouldn't be hard to replicated it in GDI. Overall looks nice might want to fix yo button tho.
Spoiler (Click to View)
Pretty cool! Good job. Maybe not my style but still pretty cool in general.
Nice try bro. Its good to see someone is having a good time with WPF.
Keep it up !
(Jul 25, 2015 05:58 AM)Rhez Wrote:  Nice try bro. Its good to see someone is having a good time with WPF.
Keep it up !

(Jul 24, 2015 09:06 PM)NETExplorer Wrote:  Nice theme, too bad I only know of 2 people in this section that actually use WPF
1 of which is no longer with us

(Jul 25, 2015 12:10 AM)ninen2001 Wrote:  Pretty cool! Good job. Maybe not my style but still pretty cool in general.

Thanks, guys.

(Jul 24, 2015 11:02 PM)SIM-1847363 Wrote:  Looks nice, wouldn't be hard to replicated it in GDI. Overall looks nice might want to fix yo button tho.
Spoiler (Click to View)

Thank you, and yeah, I honestly have no idea how to fix that. I'm thinking to add another Trigger to expand the color margin within the border to hide the clipping.
Thank you for the theme,This theme is really beautiful
Nice to see some WPF around here, nice work OP.
This is sexy af OP, nice job. Will definitely use it in the future.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by alizer0Jul 23, 2021 10:47 AM 2 423 Jul 23, 2021 10:47 AM
Last Post: tux1
[C#] by ElectronMar 15, 2021 11:05 AM 4 459 Mar 15, 2021 11:05 AM
Last Post: Jaque
[C#] by going clearJan 18, 2021 06:29 AM 2 166 Jan 18, 2021 06:29 AM
Last Post: Narwin