RadValidationRule
RadValidationRule provides a validation logic which compares RadEditorControl's Property with Rule's Value.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadValidationRule : FilterDescriptor, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable, IRadValidationRule
Inheritance: objectFilterDescriptorRadValidationRule
Derived Classes:
Implements:
Inherited Members
Constructors
public RadValidationRule()
public RadValidationRule(string propertyName, FilterOperator filterOperator, object value)
Properties
Enable or Disable the ToolTip when validation fails.
public bool AutoToolTip { get; set; }
Implements:
Enable or Disable the case sensitive Rule's Like operator.
public bool CaseSensitive { get; set; }
Implements:
Associated RadEditorControl descendants to this Rule
public List<Control> Controls { get; set; }
Implements:
The Name of the Property from Control. This Property will be evaluated against the Rule's Value property.
public override string PropertyName { get; set; }
Overrides:
Implements:
Gets or Sets the ToolTip Text. This text will be shown as ToolTip text when rule validation fails.
public string ToolTipText { get; set; }
Implements:
Gets or Sets the ToolTip Title Text. This text will be shown as ToolTip Title text when rule validation fails.
public string ToolTipTitle { get; set; }
Implements:
Methods
Associates this rule with the specified RadEditorControl descendant.
public virtual void AddControl(RadEditorControl control)
A RadEditorControl descendant that represents the editor.
Implements:
Removes the specified RadEditorControl descendant from this rule.
public virtual void RemoveControl(RadEditorControl control)
A RadEditorControl descendant that represents the editor.
Implements: