skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadValidationEventArgs

Inheritance
System.Object
System.EventArgs
RadValidationEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.