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
Post a Comment