InputPanel for UWP | ComponentOne
Features / Auto-commit Data
In This Topic
    Auto-commit Data
    In This Topic

    InputPanel allows you to automatically save the data without having to click the OK button. The auto-commit feature is supported in InputPanel through AutoCommit property of InputPanel class, which automatically saves the data after every input and is set to true by default. However, you can set the AutoCommit property to false for saving the edits after some confirmation or on clicking the OK button.

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

    In XAML

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

    XAML
    Copy Code
    <InputPanel:C1InputPanel x:Name="InPanel" AutoCommit="False"/>
    

    In Code

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

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