wpf

  • system.windows.resourcedictionary. source threw an exception wpf c#

    In general this issue is caused when a referenced resource cannot be found. In my specific circumstance, as the xaml above details, this issue was caused by a reference to PresentationFramework.Aero DLL that was not contained in the output bin… Continue reading

  • the calling thread cannot access wpf win form c# multi threading

    If you receive this error: The calling thread cannot access this object because a different thread owns it It is a simple fix to add in some common multi-threading invocation mechanisms. WPF: WinForms: References http://stackoverflow.com/questions/9732709/the-calling-thread-cannot-access-this-object-because-a-different-thread-owns-it Continue reading

  • WPF Quick Reference

    get window handle bring to front common resource dictionaries for skinning (this blog) References wpf get window handle (stackoverflow) http://stackoverflow.com/questions/1556182/finding-the-handle-to-a-wpf-window wpf bring to front (stackoverflow) http://stackoverflow.com/questions/257587/bring-a-window-to-the-front-in-wpf Continue reading

  • Common WPF Resource Dictionaries

    Skinning a WPF application is as simple as adding an assembly reference (PresentationFramework.Aero) and xml config change. See below. Other sources: References StackOverflow, http://stackoverflow.com/questions/2075720/windows-7-theme-for-wpf Continue reading

  • Change WPF Toolbar and Window Skin

    Took me some Googling to come across some good links to help me find exactly what I was looking to do. Hopefully my post gets enough hits that you’ll come across my title sooner rather than later, and can benefit… Continue reading

  • Silverlight Toolkit Default Path

    Quick google search turned up nothing for this, so did a little digging on my own. This path is useful/necessary if you want to manually utilize anything in the toolkit outside of Hilverlight, such as the themes, which are also… Continue reading

  • URL Decode in WPF

    Crossing from web to forms development you may notice System.Web is not available. You could extract it from the GAC, but would suffer from having to manually update it moving forward. One solution on the web suggested using Microsoft.XSS library… Continue reading