Development snippets related to Windows Presentation Foundation