[IronPython] Using WPF with IronPython

Rotaru Andreas.Rotaru at gmail.com
Sat Jan 17 14:21:21 CET 2009


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

http://www.nabble.com/file/p21516366/Program.py Program.py 
-- 
View this message in context: http://www.nabble.com/Using-WPF-with-IronPython-tp21516366p21516366.html
Sent from the IronPython mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090117/57df45a9/attachment.html>


More information about the Ironpython-users mailing list