Binding grid background to ListPicker selection

asylumxl

New member
Aug 5, 2013
96
0
0
Visit site
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!
 

crash1989

New member
Oct 30, 2012
1,491
0
0
Visit site
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
323,249
Messages
2,243,517
Members
428,049
Latest member
velocityxs