Table of Contents

Class CreateValidationRuleArgs

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Represents arguments for CreateValidationRule(CreateValidationRuleArgs) page command.

public sealed class CreateValidationRuleArgs
Inheritance
object
CreateValidationRuleArgs
Extension Methods

Properties

CurrentFieldName

Currently edited field the validation rule is created for.

[JsonInclude]
public string CurrentFieldName { get; }

Property Value

string

CurrentFieldTypeFullName

System.Type.FullName of the edited field the validation rule is created for.

[JsonInclude]
public string CurrentFieldTypeFullName { get; }

Property Value

string

FormData

Submitted data of the validation rule form.

[JsonInclude]
public Dictionary<string, JsonElement> FormData { get; }

Property Value

Dictionary<string, JsonElement>

Identifier

Identifier under which validation rule is registered in the Kentico.Xperience.Admin.Base.Forms.ValidationRuleDefinitionStore.

[JsonInclude]
public string Identifier { get; }

Property Value

string