Class RadValidationEventArgs
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadValidationEventArgs : EventArgs
Constructors
RadValidationEventArgs(Control, Image, String, String, IRadValidationRule, Boolean)
Construct the RadValidationEventArgs object.
Declaration
public RadValidationEventArgs(Control control, Image errorImage, string errorText, string errorTitle, IRadValidationRule validationRule, bool isFailed)
Parameters
System.Windows.Forms.Control
control
The validated control. Must be RadEditorControl descendant |
System.Drawing.Image
errorImage
Erorr image |
System.String
errorText
Error text |
System.String
errorTitle
Error title |
IRadValidationRule
validationRule
Validation rule |
System.Boolean
isFailed
Validatation failed |
Properties
Control
Get the Control which is evaluated in the ValidationRule.
Declaration
public Control Control { get; }
Property Value
System.Windows.Forms.Control
|
DisplayIconAndToolTip
Enable or Disable the Error border and error image.
Declaration
public bool DisplayIconAndToolTip { get; set; }
Property Value
System.Boolean
|
EnableToolTipShadow
Enable or Disable the ToolTip shadow.
Declaration
public bool EnableToolTipShadow { get; set; }
Property Value
System.Boolean
|
ErrorImage
Error image that will displayed next to the Validated control.
Declaration
public Image ErrorImage { get; set; }
Property Value
System.Drawing.Image
|
ErrorSvgImage
Error SVG image that will displayed next to the Validated control.
Declaration
public RadSvgImage ErrorSvgImage { get; set; }
Property Value
RadSvgImage
|
ErrorText
Sets or Gets the ToolTip's Text.
Declaration
public string ErrorText { get; set; }
Property Value
System.String
|
ErrorTitle
Sets or Gets the ToolTip's Title.
Declaration
public string ErrorTitle { get; set; }
Property Value
System.String
|
IsValid
Gets or Sets the result from the rule evaluation.
Declaration
public bool IsValid { get; set; }
Property Value
System.Boolean
|
ToolTip
Gets or sets the custom ToolTip for the Rule.
Declaration
public ToolTip ToolTip { get; set; }
Property Value
System.Windows.Forms.ToolTip
|
ToolTipDuration
Sets the ToolTip's duration in Milliseconds
Declaration
public int? ToolTipDuration { get; set; }
Property Value
System.Nullable<System.Int32>
|
ToolTipX
Sets the X position of the ToolTip.
Declaration
public int? ToolTipX { get; set; }
Property Value
System.Nullable<System.Int32>
|
ToolTipY
Sets the Y position of the ToolTip.
Declaration
public int? ToolTipY { get; set; }
Property Value
System.Nullable<System.Int32>
|
ValidationHelperElement
Gets or Sets the ValidationHelperElement descendant that contains the Error image. This element is set next to the validated control.
Declaration
public ValidationHelperElement ValidationHelperElement { get; set; }
Property Value
ValidationHelperElement
|
ValidationRule
The Rule that fires this event.
Declaration
public IRadValidationRule ValidationRule { get; }
Property Value
IRadValidationRule
|