C# XAML Buttons


In XAML, there are several controls that derive from ButtonBase: Button, RepeatButton, ToggleButton, CheckBox and RadioButton. More ButtonBase-derived controls exist, but they were designed to be used inside specific complex controls such as Calendar and DataGrid.

ButtonBase contains the Click event.