# Add New Row

## Content



FlexGrid allows you to show a new row template at the top or bottom of the grid using [NewRowPosition](/componentone/api/xamarin/online-ios/dotnet-api/C1.iOS.Grid/C1.iOS.Grid.FlexGrid.NewRowPosition.html) property, which takes values from the [GridNewRowPosition](/componentone/api/xamarin/online-ios/dotnet-api/C1.iOS.Grid/C1.iOS.Grid.GridNewRowPosition.html) enumeration. You can control the text to be displayed to a user by setting the [NewRowPlaceHolder](/componentone/api/xamarin/online-ios/dotnet-api/C1.iOS.Grid/C1.iOS.Grid.FlexGrid.NewRowPlaceholder.html) property. Users may use the new row template to add items to the grid's itemsSource collection.

The image below shows how the FlexGrid appears after adding the new row.

![](https://cdn.mescius.io/document-site-files/images/1398d806-ac3c-4763-a9b3-2c7a2f5b49fb/images/addingnewrow.png)

The following code example demonstrates how to set this property in C#. The example uses the sample created in the [Quick start](/componentone/docs/xamarin/online-ios/controls/OverviewFlexGrid/flexGridQuickStart) section.

#### In Code

```csharp
grid.NewRowPosition = GridNewRowPosition.Top;
grid.NewRowPlaceholder = "Tap to begin entering a new row";
```