Interface IRadValidationRule
Represent a base for RadValidation
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface IRadValidationRule
  Properties
AutoToolTip
Enable ot disable the ToolTip showing when validation fails.
Declaration
bool AutoToolTip { get; set; }
  Property Value
| 
        System.Boolean
         
  | 
    
CaseSensitive
Turn On or Off the CaseSensitive evaluation.
Declaration
bool CaseSensitive { get; set; }
  Property Value
| 
        System.Boolean
         
  | 
    
Controls
Represents the List of Controls that belongs to this Rule.
Declaration
List<Control> Controls { get; set; }
  Property Value
| 
        System.Collections.Generic.List<System.Windows.Forms.Control>
         
  | 
    
Expression
Get the Rule Expression e.g. 'Value > 5'
Declaration
string Expression { get; }
  Property Value
| 
        System.String
         
  | 
    
PropertyName
Sets or sets the PropertyName which will be evaluated. For example 'Value' Property.
Declaration
string PropertyName { get; set; }
  Property Value
| 
        System.String
         
  | 
    
ToolTipText
Gets or sets the ToolTip Text.
Declaration
string ToolTipText { get; set; }
  Property Value
| 
        System.String
         
  | 
    
ToolTipTitle
Gets or sets ToolTip Title.
Declaration
string ToolTipTitle { get; set; }
  Property Value
| 
        System.String
         
  | 
    
Value
The Value of the rule. This Value will be evaluated against the Property.
Declaration
object Value { get; }
  Property Value
| 
        System.Object
         
  | 
    
Methods
AddControl(RadEditorControl)
Add a RadEditorControl descendant to the Rule's Controls collection.
Declaration
void AddControl(RadEditorControl control)
  Parameters
| 
        RadEditorControl
        control
         RadEditorControl descendant instance  | 
    
RemoveControl(RadEditorControl)
Remove a RadEditorControl descendant from the Rule's Controls collection.
Declaration
void RemoveControl(RadEditorControl control)
  Parameters
| 
        RadEditorControl
        control
         RadEditorControl descendant instance  | 
    
ToString()
Declaration
string ToString()
  Returns
| 
        System.String
         
  |