skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadCompositeValidationRule

RadCompositeValidationRule evaluates two or more RadValidationRules or RadValidationRuleWithTargetControl and combines their with AND or OR operator.

Inheritance
System.Object
FilterDescriptor
CompositeFilterDescriptor
RadCompositeValidationRule
Inherited Members
CompositeFilterDescriptor.GetDescriptorType(CompositeFilterDescriptor)
CompositeFilterDescriptor.CreateDescriptor(CompositeFilterDescriptor.DescriptorType, String, Object[])
CompositeFilterDescriptor.CreateDescriptor(CompositeFilterDescriptor.DescriptorType, String, Type, Object[])
CompositeFilterDescriptor.GetCompositeExpression(CompositeFilterDescriptor)
CompositeFilterDescriptor.GetCompositeExpression(CompositeFilterDescriptor, Function<FilterDescriptor, Object>)
CompositeFilterDescriptor.ToString()
CompositeFilterDescriptor.Clone()
CompositeFilterDescriptor.ConvertTo(CompositeFilterDescriptor.DescriptorType)
CompositeFilterDescriptor.ConvertTo(CompositeFilterDescriptor.DescriptorType, Type)
CompositeFilterDescriptor.LogicalOperator
CompositeFilterDescriptor.NotOperator
CompositeFilterDescriptor.PropertyName
CompositeFilterDescriptor.Operator
CompositeFilterDescriptor.IsSameName
FilterDescriptor.GetExpression(FilterDescriptor, Function<FilterDescriptor, Object>)
FilterDescriptor.GetExpression(FilterDescriptor)
FilterDescriptor.OnPropertyChanged(String)
FilterDescriptor.OnPropertyChanged(PropertyChangedEventArgs)
FilterDescriptor.OnPropertyChanging(String, Object, Object)
FilterDescriptor.OnPropertyChanging(PropertyChangingEventArgsEx)
FilterDescriptor.PropertyChanged
FilterDescriptor.PropertyChanging
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
IRadValidationRule.AutoToolTip

CaseSensitive

Enable or Disable the case sensitive Rule's Like operator.

Declaration
public bool CaseSensitive { get; set; }
Property Value
System.Boolean

Implements
IRadValidationRule.CaseSensitive

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
IRadValidationRule.Controls

Expression

Gets the Rule expression.

Declaration
public override string Expression { get; }
Property Value
System.String

The Rule expression.

Overrides
CompositeFilterDescriptor.Expression
Implements
IRadValidationRule.Expression

FilterDescriptors

Inherit property. Not used in RadCompositeValidationRule.

Declaration
public override FilterDescriptorCollection FilterDescriptors { get; }
Property Value
FilterDescriptorCollection

Overrides
CompositeFilterDescriptor.FilterDescriptors

IsFilterEditor

Inherited property. Not used in the Rule.

Declaration
public override bool IsFilterEditor { get; set; }
Property Value
System.Boolean

Overrides
FilterDescriptor.IsFilterEditor

ToolTipText

Gets or Sets the ToolTip Text.

Declaration
public string ToolTipText { get; set; }
Property Value
System.String

Implements
IRadValidationRule.ToolTipText

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
IRadValidationRule.ToolTipTitle

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
FilterDescriptor.Value
Implements
IRadValidationRule.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
RadEditorControl control

A RadEditorControl descendant that represents the editor.

Implements
IRadValidationRule.AddControl(RadEditorControl)

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.

Implements
IRadValidationRule.RemoveControl(RadEditorControl)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.