Binding grid background to ListPicker selection

asylumxl

New member
Aug 5, 2013
96
0
0
Hi there,

I only recently started developing for Windows Phone and am making a simple app. I am able to do everything I want, apart from bind the background colour of a grid to the current item of a ListPicker (from the WP Toolkit). I have tried the obvious binding "Path" sources and some others I found via Google but without any success.

So, is this only possible with the use of C# or is it possible via XAML? Any help/examples would be appreciated.

Cheers!
 
if you have a LayoutRoot element ...

in the codebehind just fire up an event to change the background ... you can do it using an brushes (there are various brushes like solidcolorbrush, bing them :D) ...
it is very easy ... tell me if this is confusing I will elaborate
 

Members online

Forum statistics

Threads
339,455
Messages
2,262,477
Members
428,758
Latest member
Blake Shelton