xaml - How to change the fontfamily of items in flyoutpicker of combobox in wp8.1 -
can explain, how change fontfamily of flyoutpicker(the overflow menu appears when there more 5 items in combobox) ?
i've tried many ways, not able solution.
please help.
the link screenshot -> http://i.stack.imgur.com/237xw.png
i somehow mananged change header font[marked yellow rectangle] , background colour[marked red *]
but want change font family of text[marked red rectangle].
please me...
try override listpickerflyoutpresenter
<style targettype="listpickerflyoutpresenter">     <setter property="fontfamily" value="{staticresource myfontfamily" /> <style/> update:
you need override following datatemplate customizing fontfamily
<!-- datatemplate holding content listpickerflyoutpresenter's itemshostpanel --> <datatemplate x:key="listpickerflyoutpresentercontenttemplate">     <listview>         <listview.itemcontainerstyle>             <style targettype="listviewitem">                 <setter property="fontsize" value="32"/>                 <setter property="fontfamily" value="{staticresource loraboldfontfamily}"/>             </style>         </listview.itemcontainerstyle>         <listview.footer>             <border height="{themeresource listpickerflyoutfooterthemeheight}" width="1" />         </listview.footer>     </listview> </datatemplate> donwnload sample onedrive
Comments
Post a Comment