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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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