c# - WP8.1 TextBox in PanoramaItem -


this general question , looking workaround. there way create textbox item inside panoramaitem? panoramaitem:

<phone:panoramaitem x:name="panorama2" header="ringtones">                 <!--double line list image placeholder , text wrapping using floating header scrolls content-->                 <phone:longlistselector margin="0,-38,0,100" itemssource="{binding items2}" tap="longlistselector_tap">                     <phone:longlistselector.listheadertemplate>                         <datatemplate>                             <grid margin="12,0,0,38">                                 <grid.rowdefinitions>                                     <rowdefinition height="auto"/>                                     <rowdefinition height="*"/>                                 </grid.rowdefinitions>                             </grid>                         </datatemplate>                     </phone:longlistselector.listheadertemplate>                     <phone:longlistselector.itemtemplate>                         <datatemplate>                             <stackpanel orientation="horizontal" margin="12,2,0,4" height="105" width="432">                                 <stackpanel width="311" margin="8,-7,0,0">                                     <textblock text="{binding lineone}" textwrapping="wrap" margin="10,0" style="{staticresource phonetextextralargestyle}" fontsize="{staticresource phonefontsizelarge}"/>                                     <textblock text="{binding linetwo}" textwrapping="wrap" margin="10,-2,10,0" style="{staticresource phonetextsubtlestyle}" />                                 </stackpanel>                                 <image source="{binding playphoto}" width="50" height="50" horizontalalignment="left" tap="image_tap_1"/>                                 <image source="{binding downloadphoto}" width="40" height="40" horizontalalignment="right" tap="image_tap"/>                             </stackpanel>                         </datatemplate>                     </phone:longlistselector.itemtemplate>                 </phone:longlistselector>             </phone:panoramaitem> 

this how panoramaitem looks like: enter image description here

i want add textbox indicated in picture. possible? if yes how? have looked in of options of panoramaitems , couldn't find textbox item.

try xaml, think need achieve this

    <phone:panoramaitem x:name="panorama2" header="ringtones" margin="0,72,0,0">         <!--double line list image placeholder , text wrapping using floating header scrolls content-->         <stackpanel>             <phone:longlistselector height="362" margin="0,-38,0,100" itemssource="{binding items2}" tap="longlistselector_tap">                 <phone:longlistselector.listheadertemplate>                     <datatemplate>                         <grid margin="12,0,0,38">                             <grid.rowdefinitions>                                 <rowdefinition height="auto"/>                                 <rowdefinition height="*"/>                             </grid.rowdefinitions>                         </grid>                     </datatemplate>                 </phone:longlistselector.listheadertemplate>                 <phone:longlistselector.itemtemplate>                     <datatemplate>                         <stackpanel orientation="horizontal" margin="12,2,0,4" height="105" width="432">                             <stackpanel width="311" margin="8,-7,0,0">                                 <textblock text="{binding lineone}" textwrapping="wrap" margin="10,0" style="{staticresource phonetextextralargestyle}" fontsize="{staticresource phonefontsizelarge}"/>                                 <textblock text="{binding linetwo}" textwrapping="wrap" margin="10,-2,10,0" style="{staticresource phonetextsubtlestyle}" />                             </stackpanel>                             <image source="{binding playphoto}" width="50" height="50" horizontalalignment="left" tap="image_tap_1"/>                             <image source="{binding downloadphoto}" width="40" height="40" horizontalalignment="right" tap="image_tap"/>                         </stackpanel>                     </datatemplate>                 </phone:longlistselector.itemtemplate>             </phone:longlistselector>             <textbox text="sfg"/>         </stackpanel>      </phone:panoramaitem> 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -