Inheriting Dark Theme Button

Nov 11, 2013 at 4:51 PM
Edited Nov 11, 2013 at 4:51 PM
Hi, I created a new class called CategoryButton which extends Button.
I then inherited the styles for the button by doing:
<Button.Style>
    <Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}"></Style>
</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)
Coordinator
Nov 13, 2013 at 1:47 PM
See documentation topic Theme settings