c# - Windows phone 8 How to add border to item in itemscontrol -



c# - Windows phone 8 How to add border to item in itemscontrol -

i'm new windows phone , have stuck in days.

what need list border on each items.

first seek utilize listbox,which easy add together border item using listbox.itemcontainerstyle,but found items in listbox alter color while tab on it,so searching prevent,at lastly found available solutions in answer,but take reply not working on windows phone, , answers says create listbox disabled work.so set ishittestvisible false, cause buttons in item disabled.

so came itemscontrol @ last,it has no itemcontainerstyle property in windows phone every result googled says that.i tried set border in template didn't work @ all.

this issue driving me crazy,any suggestions please!

why not define itemtemplate? can specify how each item should look. example:

<listbox.itemtemplate> <datatemplate> <border> <textblock text="{binding title}" fontsize="18" textwrapping="wrap" margin="3 1" /> </border> </datatemplate> </listbox.itemtemplate>

c# windows-phone-8 listbox windows-phone

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -