Inheriting Dark Theme Button

Nov 11, 2013 at 5:51 PM
Edited Nov 11, 2013 at 5:51 PM
Hi, I created a new class called CategoryButton which extends Button.
I then inherited the styles for the button by doing:
    <Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}"></Style>
However! It inherits the Light theme button not the Dark theme button! (Hovering over the button makes the button black, doesn't look nice)
Nov 13, 2013 at 2:47 PM
See documentation topic Theme settings