Class ConditionalRule
The conditional rule properties include, field id and isChecked.
[DataContract]
public class ConditionalRule
- Inheritance
-
ConditionalRule
- Inherited Members
Constructors
ConditionalRule(string, bool, string)
Initializes a new instance of the ConditionalRule class.
public ConditionalRule(string fieldId = null, bool isChecked = false, string value = null)
Parameters
fieldId
stringGets or sets the FieldId.
isChecked
boolGets or sets the isChecked.
value
stringGets or sets the value.
Properties
FieldId
Gets or sets the fieldId.
[DataMember(Name = "fieldId", EmitDefaultValue = false)]
public string FieldId { get; set; }
Property Value
- string
Gets the value of fieldId.
IsChecked
Gets or sets a value indicating whether the field is checked or not.
[DataMember(Name = "isChecked", EmitDefaultValue = false)]
public bool IsChecked { get; set; }
Property Value
- bool
Gets or sets a value indicating whether is checked.
Value
Gets or sets the value.
[DataMember(Name = "value", EmitDefaultValue = false)]
public string Value { get; set; }
Property Value
- string
Gets the conditional rule value.
Methods
ToJson()
Returns the JSON string presentation of the object.
public virtual string ToJson()
Returns
- string
JSON string presentation of the object.