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

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -