WPF CheckBox with "Button" appearance

checkbox, wpf, wpf-controls

Solution

Use a ToggleButton, it has all the functionality you see in a CheckBox since it is derived from it.

Problem

I need a button-like control that can have a Checked property, so that when clicked it stays pressed. I had that functionality in WinForms, with the CheckBox control, setting the Appearance property to "Button". Can someone help me?

Original source

Related problems