Class
ResetFormAction

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:

cs-api-definition
public class ResetFormAction : Action

Inheritance: objectActionResetFormAction

Constructors

ResetFormAction()

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

Declaration

cs-api-definition
public ResetFormAction()

ResetFormAction(IEnumerable<string>, ResetFormType)

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

Declaration

cs-api-definition
public ResetFormAction(IEnumerable<string> fieldsNames, ResetFormType resetFormType = ResetFormType.Exclude)

Parameters

fieldsNames

IEnumerable<string>

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

resetFormType

ResetFormType

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

Properties

Fields

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

Declaration

cs-api-definition
public List<string> Fields { get; set; }

Property Value

List<string>

ResetFormType

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

Declaration

cs-api-definition
public ResetFormType ResetFormType { get; set; }

Property Value

ResetFormType