# Where to find tutorial to add event and property into a usercontrol?

**URL:** <https://forum.kirupa.com/t/where-to-find-tutorial-to-add-event-and-property-into-a-usercontrol/317867>\
**Category:** programming\
**Created:** [January 5, 2011, 1:48am UTC](https://forum.kirupa.com/t/where-to-find-tutorial-to-add-event-and-property-into-a-usercontrol/317867 "2011-01-05T01:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickong](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@nickong](https://forum.kirupa.com/u/nickong)\
**Post date:** [January 5, 2011, 1:48am UTC](https://forum.kirupa.com/t/where-to-find-tutorial-to-add-event-and-property-into-a-usercontrol/317867/1 "2011-01-05T01:48:05Z")

</div>

Hi, Kirupa  
Thanks for your great work to help so many guys like me.this is a great website.  
I just made myself a time waiting control in Blend 4, and i added storyBoard into this control so it can spinning when it loaded. What i want to do is adding two property into this control , StartSpin() and StopSpin(). that means i want to control its behavior.  
but i don’t know what to do next in the code behind part. do you have any ideal ? or where to find some tutorial to learn how to do this. :genius:

the snapshot of my waiting control in the attachment.

![](http://www.kirupa.com/forum/attachment.php?attachmentid=52994&stc=1&d=1294191596)
