In a recent project I was working on I wanted to create a slideshow or automated dashboard that would show several slides at a given interval. Telerik has a fantastic RadTransitionControl that has some very nice transition effects but doesn’t automatically change the slides. I wanted a generic way of automating this so I went with some attached properties.
Here is the declaration of the three attached properties:
1: public static readonly DependencyProperty IntervalProperty =
2: DependencyProperty.RegisterAttached("Interval", typeof(TimeSpan), typeof(SelectorSlideShow), new PropertyMetadata(new TimeSpan(0, 0, 0, 5), IntervalChanged));
4: public static readonly DependencyProperty ...