windows phone 7 - Looking for a DataGrid Control -


i have been trying find both built-in datagrid control , third party datagrid control windows phone 7 no luck. can please guide me?

you know can simple listbox or (if want images in grid) deferred load listbox. here's simple xaml show how:

<listbox x:name="mylistbox">   <listbox.itemtemplate>     <datatemplate>       <grid>         <grid.columndefinitions>           <columndefinition />           <columndefinition />         </grid.columndefinitions>         <hyperlinkbutton content="{binding path=description}" navigateuri="{binding path=uriforeditingresource}"         <textblock text="{binding path=longdescription}" grid.column="1" />       </grid>     </datatemplate>   </listbox.itemtemplate> </listbox> 

in above example assume setting mylistbox control's itemsource collection of objects class contains 3 properties (description, longdescription, , uriforeditingresource). there 2 columns in example , these columns of equal size , should take on available space.

use blend edit these (it easier you). btw, inlined datatemplate. blend typically create resource data template (which means can re-use datatemplates.

i hope helps out (btw, listbox not control can type of thing with, study available controls).

jay


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -