ComponentOne InputPanel for WPF
Features / Auto-generate Fields
In This Topic
    Auto-generate Fields
    In This Topic

    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.

    In XAML

    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"/>
    

    In Code

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

    InPanel.AutoGenerate = False
    
    InPanel.AutoGenerate = false;
    
    See Also