DevDave - Dave Relyea's Silverlight Blog

Silverlight Phone and Rich Client Development

Browse by Tags

Tagged Content List
  • Blog Post: Control Lifecycle

    What happens when you create a Control? When do overrides get called and events get raised? When do styles get applied? In response to this thread on, I've whipped this simple table up. There are some subtle differences between instantiating a control in XAML, and instantiating it...
  • Blog Post: Using an Attached DependencyProperty to Implement Pixel Snapping as an Attached Behavior

    In a previous post , I introduced the Snapper element, which is a UserControl subclass that snaps its Content to an integer pixel. Now I'll show how to implement snapping as an attached behavior using a custom attached DependencyProperty. To use the Snapper element, you put it into your tree, and...
Page 1 of 1 (2 items)