Thursday, August 30, 2007

Blinking Button

This is a small code where in i have used Styles, Triggers and a bit of animation of WPF.I have created a custom button which blinks(glows) as it gets loaded. Check it out.To understand a concept of Styles, Triggers, i have kept this sample as simple as possible. For that i have used three ellipses so that code doesnt become heavy to understand.Lets see ...
In resources section i have created a style for an ellipse.In this way we can reuse the style for different ellipses.Other way is creating inline style for an element where u can apply style to that particular element. Click on the beow source code to view it.

















Let me know ur comments

No comments: