Category Archives: WP7

Get brush from hex color in WPF, Silverlight, Windows Phone

For an app I created I needed to create a solidcolorbrush from hex RGB string. Seems a simple task, but there is no simple way of doing this. But I’ve created simple method that does just this: public static SolidColorBrush GetBrushFromHexString(string aarrggbb) { string xamlString = "<Canvas xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" Background=\"" + aarrggbb + "\"/>"; Canvas c […]

Comments Off on Get brush from hex color in WPF, Silverlight, Windows Phone  

WP8 popup menu in the application bar

The Windows Phone mail application has a nice method to bypass the limitation of 4 items in the app bar. When you press the “response” button a pop-up appears, which let you choose “Reply”, “Reply all” or “Forward”. When I needed something in an app, I found that this was not built in the framework. This blog post […]

Comments Off on WP8 popup menu in the application bar  

WP8 client WCF service time difference

One of my projects is a Windows Phone application that enable homecare workers to get information about the patient they have to visit, report any problems with those clients and register the time they spend at those client. One day I got “the panic call” from my contractor. At one of the organisations using this […]

Comments Off on WP8 client WCF service time difference