# \[WPF/C#\] Display Zooming Circles on Click

**URL:** <https://forum.kirupa.com/t/wpf-c-display-zooming-circles-on-click/214202>\
**Category:** open source\
**Created:** [January 26, 2007, 7:27am UTC](https://forum.kirupa.com/t/wpf-c-display-zooming-circles-on-click/214202 "2007-01-26T07:27:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [January 26, 2007, 7:27am UTC](https://forum.kirupa.com/t/wpf-c-display-zooming-circles-on-click/214202/1 "2007-01-26T07:27:11Z")

</div>

Hey everyone,  
I was messing around with some of the animation features in WPF, and here is a simple application ([**click here to run**](http://www.kirupafx.com/CirclesOnClick/publish.htm)) that displays animated zooming circles when you click inside the window:

[![](http://forum.kirupa.com/uploads/kirupa/3258/bcd4e38f9b907c8f.jpg)](http://www.kirupafx.com/CirclesOnClick/publish.htm)

The animation itself is based on keyframes defined in a XAML file. I store the effect as a Resource, so I am able to reuse the animation as many times as necessary. I explain how to do access a resource using code here: [http://blog.kirupa.com/?p=56](http://blog.kirupa.com/?p=56)

You can download the source files (XAML + C#) by clicking [here](http://www.kirupa.com/net/code/CirclesOnClick.zip).

Cheers!  
Kirupa 🙂
