WPF DataGrid New Item row

Feb 24, 2009 at 11:24 AM
This is my first post in codeplex. I am working on a WPF project where i am using the datagrid to display the data. I have requirement  to display the new row to the user allowing him to add new data row. I am able to do this by creating the Control template for DataGridRow and load it.  

Normally the new row will be displayed after all the rows. My problem is I want to display this new row always in the end of grid's scrollable area even if i have more rows and vertical scroll bar is available.

Is there any way to achive this.

Thanks in advance for any help.

Feb 24, 2009 at 12:18 PM
Edited Feb 24, 2009 at 6:37 PM
After perusing the source code a little, it looks like the code tries either, NewItemPlaceholderPosition.AtEnd, NewItemPlaceholderPosition.AtBegining, or NewItemPlaceholderPosition.AtNone.