Skip to content

Custom Control Templates

The definition of a control template is a good idea when you want to change the appearance of a control but keep its logic. If you want to change the behavior as well you should think about creating a custom control.

You can easily change the control template of a wpf control by right click on a control in the Visual Studio designer and select “Edit a copy”

In the subsequent dialog you can give a name to the style which sets the control template.

In the next chapters I will give you some examples of custom control templates.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright (c) by Thomas Kemp, 2021