Live Demo: Drawing Dynamic Silverlight Shapes
The following code excerpts show the highlights of performing the primary shape drawing functions:
- Dynamic shape creation
- Sizing calculations
- Dynamic event handlers
- Shape re-sizing
- Shape movement
You can download the full source here: Drawing Dynamic Silverlight Shapes Demo. This requires Visual Studio 2008 and Silverlight 3 development tools (Expression Blend is notrequired but would be useful as well).