# Auto-generate Fields

## Content

InputPanel fields are automatically generated on the basis of data type of a particular field. Auto-generation of fields in InputPanel is supported through the [AutoGenerate](/componentone/api/wpf/online-inputpanel/dotnet-framework-api/C1.WPF.InputPanel.4.6.2/C1.WPF.InputPanel.C1InputPanel.AutoGenerate.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, which is set to **true** by default. However, you can set the value of the AutoGenerate property to **false** if you want to create the fields on your own.

You can set the value of AutoGenerate property in XAML as well as code view.

### In XAML

To set the value of the AutoGenerate property in XAML view, use the following code.

```xml
<InputPanel:C1InputPanel x:Name="InPanel" AutoGenerate="False"/>
```

### In Code

To set the value of the AutoGenerate property in code view, use the following code.

```vbnet
InPanel.AutoGenerate = False
```

```csharp
InPanel.AutoGenerate = false;
```

## See Also

[Add, Edit, and Delete Records](/componentone/docs/wpf/online-inputpanel/Features/Add,Edit,andDeleteRecords)

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

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