Provides an editor's validation metadata and lets a handler cancel the editor's validation.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ItemValidatingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsItemValidatingEventArgs
Inherited Members
Constructors
Initializes event data for the specified editor and its validation metadata.
public ItemValidatingEventArgs(RadLabel label, RadLabel validation, ErrorProvider errorProvider, RadRangeAttribute rangeAttribute)
The label associated with the editor, if available.
validationRadLabelThe validation label associated with the editor, if available.
errorProviderErrorProviderThe error provider associated with the editor.
rangeAttributeRadRangeAttributeThe range metadata found on the bound property, or null when none is present.
Properties
Gets the label associated with the editor being validated, if one was assigned.
public RadLabel Label { get; }
Gets the RadRangeAttribute attached to the editor's bound property, or null if no range metadata was found.
public RadRangeAttribute RangeAttribute { get; }
Gets the validation label associated with the editor, if one was assigned.
public RadLabel ValidationLabel { get; }