c# - Button click highlight list box item WP8 -


i have list box 4 items a,b,c , d.

i have button in application bar,onclick of button need highlight or change background color of list item , b green.

how achieve ?

if want in xaml,

add following lines inside tag

<listbox.resources>     <solidcolorbrush x:key="{x:static systemcolors.highlightbrushkey}" color="red"/>     <solidcolorbrush x:key="{x:static systemcolors.controlbrushkey}" color="red"/> </listbox.resources> 

Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -