# Add, Edit, and Delete Records

## Content

InputPanel control comes with the Add and Delete buttons at the top right of the control. The Add button allows you to insert a new record into the collection of records and the Delete button allows you to delete the currently displayed record in a single click. The following image shows the Add and Delete buttons available in the InputPanel control.
![](https://cdn.mescius.io/document-site-files/images/004dc683-5d50-40fc-ab9e-000a523035d7/images/adddelete-buttons.png)

InputPanel also allows you to edit the records, however, the control does not provide any dedicated button for editing. You can simply select a field in the displayed record and edit the content in it.

InputPanel allows you to set the visibility of the Add button through the [AddButtonVisibility](/componentone/api/wpf/online-inputpanel/dotnet-framework-api/C1.WPF.InputPanel.4.6.2/C1.WPF.InputPanel.C1InputPanel.AddButtonVisibility.html) property and Delete button through the [DeleteButtonVisibility](/componentone/api/wpf/online-inputpanel/dotnet-framework-api/C1.WPF.InputPanel.4.6.2/C1.WPF.InputPanel.C1InputPanel.DeleteButtonVisibility.html) property of the [C1InputPanel](/componentone/api/wpf/online-inputpanel/dotnet-framework-api/C1.WPF.InputPanel.4.6.2/C1.WPF.InputPanel.C1InputPanel.html) class. By default, the visibility of these buttons is set to **true**, however, you can hide these buttons using the following code:

```vbnet
InPanel.AddButtonVisibility = Visibility.Collapsed
InPanel.DeleteButtonVisibility = Visibility.Collapsed
```

```csharp
InPanel.AddButtonVisibility = Visibility.Collapsed;
InPanel.DeleteButtonVisibility = Visibility.Collapsed;
```

## See Also

[Record Navigation](/componentone/docs/wpf/online-inputpanel/Features/Record-Navigation)

[Auto-generate Fields](/componentone/docs/wpf/online-inputpanel/Features/Autogenerate-Fields)

[Auto-commit Data](/componentone/docs/wpf/online-inputpanel/Features/Autocommit-Data)