Building A Silverlight 2.0 Custom Button Control
There are some really cool new features to Silverlight 2.0, one of which is the ability to style up a cool looking series of Rectangles with various gradients and then group them into a Layout Control, such as a Grid or Canvas and then in Blend 2.5 turn it into a Silverlight 2.0 Button Control complete with the behaviours that are native to a Silverlight 2.0 Button (Click, MouseEnter, MouseLeave, etc.). I am going to show you how to do just that. After that I am going to show you how Silverlight 2.0 makes reusing assets and Controls a breeze by placing some content, along with out new stylish custom Button Control into a Layout Control and then turn that into a Silverlight 2.0 UserControl. Finally, I will show you just how easy it is to reuse our newly created UserControl. Without any further ado, let’s get to it!
Victor is a senior application engineer at IdentityMine, a top-tier software company specializing in designing and developing cutting edge software applications, creating customized WPF/Blend and Silverlight training programs and creating tools for designers and developers. Victor has worked with Fortune 500 companies such as Microsoft, Harrah's, Mattel, NBC/Universal, Disney, Best Buy, GameStop, Vivendi Universal Games, and New Line Cinema among others. Victor, a former Flash/ActionScript engineer still stays active in the Flash community by writing articles and tutorials on www.actionscript.org where he is also a moderator.