RadCompositeValidationRule evaluates two or more RadValidationRules or RadValidationRuleWithTargetControl and combines their with AND or OR operator.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCompositeValidationRule : CompositeFilterDescriptor, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable, IRadValidationRule
Inheritance: objectFilterDescriptorCompositeFilterDescriptorRadCompositeValidationRule
Implements:
Inherited Members
Constructors
public RadCompositeValidationRule()
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:
Gets or Sets a collection with RadEditorControl descendants that belongs this Rule.
public List<Control> Controls { get; set; }
Implements:
Gets the Rule expression.
public override string Expression { get; }
The Rule expression.
Overrides:
Implements:
Inherit property. Not used in RadCompositeValidationRule.
[Browsable(false)]
public override FilterDescriptorCollection FilterDescriptors { get; }
Overrides:
Gets or Sets the ToolTip Text.
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:
Gets or Sets the collection of ValidationRules that belongs to this RadValidationProvider.
public FilterDescriptorCollection ValidationRules { get; }
Methods
Associates this rule and all controls in ValidationRules collection 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 and from all controls in ValidationRules collection .
public void RemoveControl(RadEditorControl control)
A RadEditorControl descendant that represents the editor.
Implements: