Each WPF Control has a default Control Template which determines its appearance and a Control class which represents the program logic. You can change the control appearance by definition of an own Control Template.
The Control Template consists of a visual tree of WPF UI Elements.