Provides a data-layout item's validation metadata and lets a handler cancel the editor's validation.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class DataLayoutItemValidatingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsDataLayoutItemValidatingEventArgs
Inherited Members
Constructors
Initializes event data for the specified item and its validation metadata.
C#
public DataLayoutItemValidatingEventArgs(DataLayoutControlItem item, ErrorProvider errorProvider, RadRangeAttribute rangeAttribute)
The data-layout item associated with the editor.
errorProviderErrorProviderThe error provider associated with the editor.
rangeAttributeRadRangeAttributeThe range metadata found on the bound property, or null when none is present.
Properties
Gets the data-layout item associated with the editor being validated.
C#
public DataLayoutControlItem Item { get; }
Gets the RadRangeAttribute attached to the editor's bound property, or null if no range metadata was found.
C#
public RadRangeAttribute RangeAttribute { get; }