By Karin Huber on
30.05.2006
In WPF custom controls should be lookless. That means, that business logic and UI are strongly separated. When you create a control, you can provide a default template for the control, but everybody who uses the control can override it without touching the business logic.
In my sample I will create a custom control for a simple clock with a default template for a digital clock. In the application that uses the control I will overwrite the template for the clock, so that it will be displayed as an analog clock.
Read More »