HeaderedContentControl

1 posts, 0 answers
  1. Steven
    Steven avatar
    4 posts
    Member since:
    Feb 2011

    Posted 22 Mar 2011 Link to this post

    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
Back to Top