Hello,
In Designer form I can add Grid in
<HeaderedContentControl >
<Grid>
</Grid>
</HeaderedContentControl >
then add other control the grid.
How can I use code add grid?
thank you
In Designer form I can add Grid in
<HeaderedContentControl >
<Grid>
</Grid>
</HeaderedContentControl >
then add other control the grid.
How can I use code add grid?
var grid=new Grid(); grid.RowDefinitions.Add(new RowDefinition()); grid.ColumnDefinitions.Add(new ColumnDefinition()); HeaderedContentControl.Content = grid;
thank you