DataGrid for WPF and Silverlight Overview > DataGrid Features > Add New Row |
You can add rows to the grid at run time using the new row bar. The new row bar, located at the bottom of the grid by default and indicated by an asterisk symbol (*), allows you to type in new information to add to the grid at run time:
To add a new row, simply type text into the new row bar:
Press ENTER for text to be added to the grid in a new row:
Note: The CanUserAddRows property must be set to True (default) for row adding to be possible. See Disabling Adding Rows for an example. |