RadValidationRuleWithTargetControl provides a validation logic which compares RadEditorControl's Property with TargetControl's property.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class RadValidationRuleWithTargetControl : RadValidationRule, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable, IRadValidationRule
Inheritance: objectFilterDescriptorRadValidationRuleRadValidationRuleWithTargetControl
Implements:
Inherited Members
Constructors
C#
public RadValidationRuleWithTargetControl()
Properties
Gets the Rule expression.
C#
public override string Expression { get; }
The Rule expression.
Overrides:
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; }