简体   繁体   中英

WP7 : Grid DataTemplate

I have a Grid of images, images are dynamically added to the grid.

How can i create a cell dataTemplate for this Grid to add border radius to each image?

You cannot add a cell template for the grid, but you can definetly add a default style to your image, so that the image comes with a border and you just place it in the grid. Just another way to think about your problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM