Quantcast
Viewing all articles
Browse latest Browse all 18858

Programmatically add column and rows to grid and add the button control in each cell.

Hello

I am newer in WPF. I want to create the grid of M rows and n Columns. In each cell I want to add a button control and set its come of the properties. What is the easier code using either any of the LOOP  like For, Foreach etc. These all things I want to do programmatically in CS file and not through XAML.

Thanks for any reply in advance


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>