c# - DataGrid in WPF 3.5 -
how add column datagrid in wpf?
if you're talking programatically, can this:
datagrid.columns.add(new datagridtextcolumn());
or xaml
<datagrid height="148" horizontalalignment="left" margin="12,21,0,0" name="datagrid1" verticalalignment="top" width="225" />
you best served checking out tutorial on wpf datagrids.
also, here's tutorial on how to
add controls datagrid @ runtime
Comments
Post a Comment