Jayanta_KMC
Jayanta_KMC

Reputation: 70

How to make a WPF TabControl with Materials Design type look without using MaterialDesignThemes?

I want to make a WPF window app and add a Materials Design'ish TabControl but without using MaterialDesignThemes. I'm using Sharpdevelop[which is discontinued, I know] & .NET 4.5. Dont judge me :). I'm not able to use MaterialDesignThemes, when I try it I get the error

error_screenshot

Has anyone ever done something like this, if yes, can you share ?

Upvotes: 0

Views: 1127

Answers (1)

mm8
mm8

Reputation: 169280

Option 1: Upgrade your project to .NET Framework 4.5.2 or later, preferably at least 4.6.2 since version 4.5.2, 4.6, and 4.6.1 will officially reach end of support on April 26, 2022.

Option 2: Copy the styles for the TabControl and TabItem from GitHub, and edit them as per your requirements before you apply them to your controls.

Note that you will have to remove all Material Design specific stuff, such as ColorZone and Ripple elements, from the templates which till certainly affect the appearance so I strongly recommend the first option.

Upvotes: 1

Related Questions