Interface
IRadValidationRule

Represent a base for RadValidation

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public interface IRadValidationRule

Properties

AutoToolTip

Enable ot disable the ToolTip showing when validation fails.

Declaration

cs-api-definition
bool AutoToolTip { get; set; }

Property Value

bool

CaseSensitive

Turn On or Off the CaseSensitive evaluation.

Declaration

cs-api-definition
bool CaseSensitive { get; set; }

Property Value

bool

Controls

Represents the List of Controls that belongs to this Rule.

Declaration

cs-api-definition
List<Control> Controls { get; set; }

Property Value

List<Control>

Expression

Get the Rule Expression e.g. 'Value > 5'

Declaration

cs-api-definition
string Expression { get; }

Property Value

string

PropertyName

Sets or sets the PropertyName which will be evaluated. For example 'Value' Property.

Declaration

cs-api-definition
string PropertyName { get; set; }

Property Value

string

ToolTipText

Gets or sets the ToolTip Text.

Declaration

cs-api-definition
string ToolTipText { get; set; }

Property Value

string

ToolTipTitle

Gets or sets ToolTip Title.

Declaration

cs-api-definition
string ToolTipTitle { get; set; }

Property Value

string

Value

The Value of the rule. This Value will be evaluated against the Property.

Declaration

cs-api-definition
object Value { get; }

Property Value

object

Methods

AddControl(RadEditorControl)

Add a RadEditorControl descendant to the Rule's Controls collection.

Declaration

cs-api-definition
void AddControl(RadEditorControl control)

Parameters

control

RadEditorControl

RadEditorControl descendant instance

RemoveControl(RadEditorControl)

Remove a RadEditorControl descendant from the Rule's Controls collection.

Declaration

cs-api-definition
void RemoveControl(RadEditorControl control)

Parameters

control

RadEditorControl

RadEditorControl descendant instance

ToString()

Declaration

cs-api-definition
string ToString()

Returns

string