New to Telerik UI for WinForms? Start a free 30-day trial

Provides the editor and validation metadata passed after the editor's validation event completes.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ItemValidatedEventArgs : EventArgs

Inheritance: objectEventArgsItemValidatedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data for the specified editor and its validation metadata.

C#
public ItemValidatedEventArgs(RadLabel label, RadLabel validation, ErrorProvider errorProvider, RadRangeAttribute rangeAttribute)
Parameters:labelRadLabel

The label associated with the editor, if available.

validationRadLabel

The validation label associated with the editor, if available.

errorProviderErrorProvider

The error provider associated with the editor.

rangeAttributeRadRangeAttribute

The range metadata found on the bound property, or null when none is present.

Properties

Gets the editor's error provider, which can display a validation message with SetError(Control, string).

C#
public ErrorProvider ErrorProvider { get; }

Gets the label associated with the validated editor, if one was assigned.

C#
public RadLabel Label { get; }

Gets the RadRangeAttribute attached to the editor's bound property, or null if no range metadata was found.

C#
public RadRangeAttribute RangeAttribute { get; }

Gets the validation label associated with the editor, if one was assigned.

C#
public RadLabel ValidationLabel { get; }