How to add a CheckBox to a Menu Item in WPF

By setting IsCheckable property of a MenuItem to true makes a menu item to a CheckBox in front of the header text.

<MenuItem IsCheckable="true">