New to Telerik UI for WinFormsStart a free 30-day trial

RadValidationRuleWithTargetControl provides a validation logic which compares RadEditorControl's Property with TargetControl's property.

Definition

Constructors

C#
public RadValidationRuleWithTargetControl()

Properties

Gets the Rule expression.

C#
public override string Expression { get; }
Property Value:

The Rule expression.

Overrides: FilterDescriptor.Expression

Gets or sets the Target Control. This control's property value will be used in the Rule evaluation.

C#
public Control TargetControl { get; set; }

The name of the property that will be used in the Rule evaluation.

C#
public string TargetControlPropertyName { get; set; }

Methods

C#
protected virtual object CalculateValue()
Returns:

object