benruehl / adonis-ui

Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals
https://benruehl.github.io/adonis-ui/
MIT License
1.71k stars 143 forks source link

add DefaultToAccentToggleButton #62

Closed Swiftpaws closed 4 years ago

Swiftpaws commented 4 years ago

I modified the button according to your comments - should now behave like a normal toggle button until checked.

Also I decided to not modify the control template - thus now the shadow host is included. (I am currently on the verge on whether it looks better with or without it)

Swiftpaws commented 4 years ago

The style from #59 could be modified and used as a FlatToggleButton which would suit well if you dont want a border around the buttons (For example: UWP Command Bar)

benruehl commented 4 years ago

This is an update to the previous PR #59