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