locked
How to change selected item color and the selected area size of listview

    Question

  • What i really need to do is change the following things in XMAL.

    1. Changing the selection color

    2. Size of selected area 


    Thanks in advance.

    Dileepa S. Rajapaksa
    ---------------------------------
    Trainee Developer
    Microsoft, Sri Lanka

    ----------------
    Twitter : @dsrajapaksa
    Blog : http://www.dileepatech.net


    Thursday, January 29, 2015 11:54 AM

Answers

  • Hi Dileepa,

    It is possible by customize the control by its template, see this for more information: ListViewItem styles and templates.

    By changing the selected visual state, you can change the color of the ListView item background, also the size of the selected item.

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 30, 2015 4:37 AM
    Moderator