c# - Binding Data To WebBrowser -
c# - Binding Data To WebBrowser -
i'm binding info list view, , need display html string in web browser. how this? list:
<listbox margin="0,0,-12,0" itemssource="{binding}" name="postslist"> <listbox.itemtemplate> <datatemplate> <stackpanel margin="0,0,0,17" width="432"> <textblock text="{binding path=name}" textwrapping="nowrap" style="{staticresource phonetextsubtlestyle}"/> <textblock text="{binding path=content}" textwrapping="wrap" margin="12,-6,12,0" style="{staticresource phonetextnormalstyle}"/> <phone:webbrowser source="{binding path=webcontent}" margin="12,-6,12,0" /> </stackpanel> </datatemplate> </listbox.itemtemplate> </listbox>
tia, ng93
c# windows-phone-7
Comments
Post a Comment