Hallo,

 

I created a anolog clock with WPF/XAML, which shows the current datetime. The clockhands are updated by a timer, which sends a new event for every second.

Until now, everything worked fine. As next I put the whole clock design into a controltemplate, which allows it to use the clock as a button.

Although this worked fine, the clockhands don't move anymore. I found out, that adding a DependencyProperty to the custom control will solve this problem.

But the implementation of it doesn't seems to be that easy. Can somebody help me?

I attached the Ironpython script to the message.

 

Thanks in advance

<a href="http://www.nabble.com/file/p21516366/Program.py" target="_top">Program.py</a>
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Using-WPF-with-IronPython-tp21516366p21516366.html">Using WPF with IronPython</a><br>
Sent from the <a href="http://www.nabble.com/IronPython-f14449.html">IronPython mailing list archive</a> at Nabble.com.<br>