Quantcast
Channel: WPF Grid - Cell background color
Viewing all articles
Browse latest Browse all 8

WPF Grid - Cell background color

$
0
0
I have try something like this:
 DockPanel dp = new DockPanel();
dp.Background= Brushes.CadetBlue;
dp.Width=50;
dp.Height=50;

Grid g =new Grid();
Grid.SetColumn(g,2);
Grid.SetRow(g,2);
grdMap.Children.Add(g);

But don't see a new panel...

Viewing all articles
Browse latest Browse all 8

Trending Articles



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