Share via


ControlTemplate Examples

Controls in Windows Presentation Foundation (WPF) have a ControlTemplate that contains the visual tree of that control. You can change the structure and appearance of a control by modifying the ControlTemplate of that control. There is no way to replace only part of the visual tree of a control; to change the visual tree of a control you must set the Template property of the control to its new and complete ControlTemplate.

In This Section

Reference

System.Windows.Controls

ControlTemplate

Control Authoring Overview

Styling and Templating

Control Customization Samples