2017년 3월 5일 일요일

Modify properties of a certain index in a listpicker?


I have a listpicker, and 5 items in it.
Would it be possible to change the background color of the 1st item?
And would it be possible to make the 2nd item's visibility to false?

--
Would it be possible to change the background color of the 1st item?
It is all or nothing.  You can not change the colors of individual items but you can change the ItemBackgroundColor for all of the items.

And would it be possible to make the 2nd item's visibility to false?
You cannot do this either.  You can provide a second list identical to the original but with the 2nd item removed.  Just modify the ElementsFromString  or Elements, depending on how you populate the ListPicker.


--

댓글 없음:

댓글 쓰기