WPF code snippets (10)

How to convert System.Drawing.Icon to WPF ImageSource

Published: 21. January 2014 | Updated: 21. January 2014
Categories: Converting WPF
Tags: C# Conversion GDI Media WPF

How to prevent opening multiple instance of application

Published: 11. January 2014 | Updated: 11. January 2014
Categories: Winforms WPF
Tags: C# Security Threading Windows Winforms WPF

How to open message box

Published: 1. February 2012 | Updated: 1. February 2012
Categories: Winforms WPF
Tags: C# UI Windows Winforms WPF

How to exit WPF application

Published: 1. December 2011 | Updated: 1. December 2011
Categories: WPF
Tags: WPF

How to get handle of WPF window

Published: 23. November 2011 | Updated: 23. November 2011
Categories: WPF
Tags: C# Windows WPF

How to find out whether pc is tablet

Published: 19. November 2011 | Updated: 19. November 2011
Categories: Windows WPF
Tags: C# Windows WPF

How to get color from ScRGB

Published: 24. October 2011 | Updated: 26. October 2011
Categories: Colors WPF
Tags: C# Colors Conversion WPF

How to multiply color channels by specified value

Published: 24. October 2011 | Updated: 24. October 2011
Categories: WPF
Tags: C# Colors WPF

How to add two colors

Published: 24. October 2011 | Updated: 24. October 2011
Categories: WPF
Tags: C# Colors WPF

How to subtract two colors

Published: 24. October 2011 | Updated: 24. October 2011
Categories: WPF
Tags: C# Colors WPF