This is a migrated thread and some comments may be shown as answers.

HeaderedContentControl

0 Answers 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 22 Mar 2011, 05:36 AM
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?
var grid=new Grid();
grid.RowDefinitions.Add(new RowDefinition());
grid.ColumnDefinitions.Add(new ColumnDefinition());

HeaderedContentControl.Content = grid;

thank you

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Share this question
or