ClassRadCompositeValidationRule
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
RadCompositeValidationRule()
Declaration
public RadCompositeValidationRule()
Properties
AutoToolTip
Enable or Disable the ToolTip when validation fails.
CaseSensitive
Enable or Disable the case sensitive Rule's Like operator.
Declaration
public bool CaseSensitive { get; set; }
Property Value
Implements
Controls
Gets or Sets a collection with RadEditorControl descendants that belongs this Rule.
Declaration
public List<Control> Controls { get; set; }
Property Value
List<Control>
Implements
Expression
Gets the Rule expression.
Declaration
public override string Expression { get; }
Property Value
The Rule expression.
Overrides
Implements
FilterDescriptors
Inherit property. Not used in RadCompositeValidationRule.
Declaration
[Browsable(false)]
public override FilterDescriptorCollection FilterDescriptors { get; }
Property Value
Overrides
ToolTipText
Gets or Sets the ToolTip Text.
Declaration
public string ToolTipText { get; set; }
Property Value
Implements
ToolTipTitle
Gets or Sets the ToolTip Title Text. This text will be shown as ToolTip Title text when rule validation fails.
Declaration
public string ToolTipTitle { get; set; }
Property Value
Implements
ValidationRules
Gets or Sets the collection of ValidationRules that belongs to this RadValidationProvider.
Declaration
public FilterDescriptorCollection ValidationRules { get; }
Property Value
Methods
AddControl(RadEditorControl)
Associates this rule and all controls in ValidationRules collection with the specified RadEditorControl descendant.
Declaration
public virtual void AddControl(RadEditorControl control)
Parameters
control
A RadEditorControl descendant that represents the editor.
Implements
RemoveControl(RadEditorControl)
Removes the specified RadEditorControl descendant from this rule and from all controls in ValidationRules collection .
Declaration
public void RemoveControl(RadEditorControl control)
Parameters
control
A RadEditorControl descendant that represents the editor.
Implements