windows - Listview looked like a ListBox in the attached picture in the Universal App -


what need listview looked listbox in attached picture in universal app or whether there easier way similar-looking list?

https://i-msdn.sec.s-msft.com/dynimg/ic505349.png

i'm not entirely sure you're trying ask, i'll give shot.

you can use listview , set datatemplate make u want. example:

   <listview itemssource="{binding myitems}" >       <listview.itemtemplate>          <grid>             <grid.columndefinitions>                <columndefinition />                <columndefinition />             </grid.columndefinitions>                <textblock text="{binding property1}" />             <textblock grid.column="1" text="{binding property2}" />         </grid>       </listview.itemtemplate>    </listview> 

where property1 , property2 bindable properties of item in itemssource.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -