Class RadValidationRuleWithTargetControl
RadValidationRuleWithTargetControl provides a validation logic which compares RadEditorControl's Property with TargetControl's property.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadValidationRuleWithTargetControl : RadValidationRule, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable, IRadValidationRule
Constructors
RadValidationRuleWithTargetControl()
Declaration
public RadValidationRuleWithTargetControl()
Properties
Expression
Gets the Rule expression.
Declaration
public override string Expression { get; }
Property Value
System.String
The Rule expression. |
Overrides
TargetControl
Gets or sets the Target Control. This control's property value will be used in the Rule evaluation.
Declaration
public Control TargetControl { get; set; }
Property Value
System.Windows.Forms.Control
|
TargetControlPropertyName
The name of the property that will be used in the Rule evaluation.
Declaration
public string TargetControlPropertyName { get; set; }
Property Value
System.String
|
Value
Gets or sets the Value of this rule. Controls in the rule will be evaluated against this value.
Declaration
public override object Value { get; set; }
Property Value
System.Object
|
Overrides
Methods
CalculateValue()
Declaration
protected virtual object CalculateValue()
Returns
System.Object
|