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 property of the C1InputPanel 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.
To set the value of the AutoGenerate property in XAML view, use the following code.
XAML |
Copy Code
|
---|---|
<InputPanel:C1InputPanel x:Name="InPanel" AutoGenerate="False"/> |
To set the value of the AutoGenerate property in code view, use the following code.