New to Telerik Document ProcessingStart a free 30-day trial

Reset the values of interactive form fields, optionally limiting the operation to a specified subset.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Actions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class ResetFormAction : Action

Inheritance: objectActionResetFormAction

Constructors

Create a reset action with Fields empty and ResetFormType set to Exclude, which resets all fields.

C#
public ResetFormAction()

Create a reset action that includes or excludes the provided field names.

C#
public ResetFormAction(IEnumerable<string> fieldsNames, ResetFormType resetFormType = ResetFormType.Exclude)
Parameters:fieldsNamesIEnumerable<string>

A collection of field names to be included or excluded in the reset operation.

resetFormTypeResetFormType

Specifies whether the reset operation should include or exclude the specified fields. Default is Exclude.

Properties

Gets or sets field names to include or exclude from the reset operation.

C#
public List<string> Fields { get; set; }

Gets or sets whether Fields are included in or excluded from the reset.

C#
public ResetFormType ResetFormType { get; set; }