//using System.Linq;
using Telerik.WinControls;
namespace Pilz.UI.WinForms.Telerik.Controls.RadValidationProvider;
///
/// Represent a base for RadValidation
///
public interface IRadValidationRuleEx
{
///
/// Represents the List of Controls that belongs to this Rule.
///
List Controls { get; set; }
///
/// Gets or sets the ToolTip Text.
///
string ToolTipText { get; set; }
///
/// Gets or sets ToolTip Title.
///
string ToolTipTitle { get; set; }
///
/// Enable ot disable the ToolTip showing when validation fails.
///
bool AutoToolTip { get; set; }
///
/// Get the Rule Expression e.g. 'Value > 5'
///
string Expression { get; }
///
/// Sets or sets the PropertyName which will be evaluated. For example 'Value' Property.
///
string PropertyName { get; set; }
///
/// Add a RadControl descendant to the Rule's Controls collection.
///
/// RadControl descendant instance
void AddControl(RadControl control);
///
/// Remove a RadControl descendant from the Rule's Controls collection.
///
/// RadControl descendant instance
void RemoveControl(RadControl control);
string ToString();
///
/// The Value of the rule. This Value will be evaluated against the Property.
///
object Value { get; }
///
/// Turn On or Off the CaseSensitive evaluation.
///
bool CaseSensitive { get; set; }
}