Class RadCompositeValidationRule
RadCompositeValidationRule evaluates two or more RadValidationRules or RadValidationRuleWithTargetControl and combines their with AND or OR operator.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCompositeValidationRule : CompositeFilterDescriptor, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable, IRadValidationRule
Constructors
RadCompositeValidationRule()
Declaration
public RadCompositeValidationRule()
Properties
AutoToolTip
Enable or Disable the ToolTip when validation fails.
Declaration
public bool AutoToolTip { get; set; }
Property Value
System.Boolean
|
Implements
CaseSensitive
Enable or Disable the case sensitive Rule's Like operator.
Declaration
public bool CaseSensitive { get; set; }
Property Value
System.Boolean
|
Implements
Controls
Gets or Sets a collection with RadEditorControl descendants that belongs this Rule.
Declaration
public List<Control> Controls { get; set; }
Property Value
System.Collections.Generic.List<System.Windows.Forms.Control>
|
Implements
Expression
Gets the Rule expression.
Declaration
public override string Expression { get; }
Property Value
System.String
The Rule expression. |
Overrides
Implements
FilterDescriptors
Inherit property. Not used in RadCompositeValidationRule.
Declaration
public override FilterDescriptorCollection FilterDescriptors { get; }
Property Value
FilterDescriptorCollection
|
Overrides
IsFilterEditor
Inherited property. Not used in the Rule.
Declaration
public override bool IsFilterEditor { get; set; }
Property Value
System.Boolean
|
Overrides
ToolTipText
Gets or Sets the ToolTip Text.
Declaration
public string ToolTipText { get; set; }
Property Value
System.String
|
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
System.String
|
Implements
ValidationRules
Gets or Sets the collection of ValidationRules that belongs to this RadValidationProvider.
Declaration
public FilterDescriptorCollection ValidationRules { get; }
Property Value
FilterDescriptorCollection
|
Value
Inherited property. Not used in the Rule.
Declaration
public override object Value { get; set; }
Property Value
System.Object
|
Overrides
Implements
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
RadEditorControl
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
RadEditorControl
control
A RadEditorControl descendant that represents the editor. |