Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadValidationEventArgs : EventArgs
Inheritance: objectEventArgsRadValidationEventArgs
Inherited Members
Constructors
Construct the RadValidationEventArgs object.
public RadValidationEventArgs(Control control, Image errorImage, string errorText, string errorTitle, IRadValidationRule validationRule, bool isFailed)
The validated control. Must be RadEditorControl descendant
errorImageImageErorr image
errorTextstringError text
errorTitlestringError title
validationRuleIRadValidationRuleValidation rule
isFailedboolValidatation failed
Properties
Get the Control which is evaluated in the ValidationRule.
public Control Control { get; }
Enable or Disable the Error border and error image.
public bool DisplayIconAndToolTip { get; set; }
Enable or Disable the ToolTip shadow.
public bool EnableToolTipShadow { get; set; }
Error image that will displayed next to the Validated control.
public Image ErrorImage { get; set; }
Error SVG image that will displayed next to the Validated control.
public RadSvgImage ErrorSvgImage { get; set; }
Sets or Gets the ToolTip's Title.
public string ErrorTitle { get; set; }
Sets the ToolTip's duration in Milliseconds
public int? ToolTipDuration { get; set; }
Gets or Sets the ValidationHelperElement descendant that contains the Error image. This element is set next to the validated control.
public ValidationHelperElement ValidationHelperElement { get; set; }
The Rule that fires this event.
public IRadValidationRule ValidationRule { get; }