ClassRadValidationRuleWithTargetControl
Class
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:
cs-api-definition
public class RadValidationRuleWithTargetControl : RadValidationRule, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable, IRadValidationRule
Inheritance: objectFilterDescriptorRadValidationRuleRadValidationRuleWithTargetControl
Implements:
Inherited Members
Constructors
RadValidationRuleWithTargetControl()
Declaration
cs-api-definition
public RadValidationRuleWithTargetControl()
Properties
Expression
Gets the Rule expression.
Declaration
cs-api-definition
public override string Expression { get; }
Property Value
The Rule expression.
Overrides
TargetControl
Gets or sets the Target Control. This control's property value will be used in the Rule evaluation.
TargetControlPropertyName
The name of the property that will be used in the Rule evaluation.
Declaration
cs-api-definition
public string TargetControlPropertyName { get; set; }
Property Value