how to add blank row to wpf datagrid having user defind fields

Dec 30, 2010 at 12:35 PM

"Net v3.5. VS 2008 SP1 with WPF toolkit v3.5.40128.1"

hi, i have data grid with user defined fields,

that is

   GridView gv = lstFinal.View as GridView;
            if (gv != null)
            {
                dataGrid1.Items.Clear();
                for (int i = 0; i < gv.Columns.Count; i++)
                {
                    DataGridTextColumn gd = new DataGridTextColumn();
                    gd.Header     = gv.Columns[i].Header;
                   dataGrid1.Columns.Add(gd);
                } 
            }

How can I get the new row.?

perhaps a blank row always on the bottom is enough for me. how can i  create a data grid  with blank row always on the bottom..?

regards

  Arun