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

Stores the layout item, error provider, and range metadata associated with an editor's validation.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DataLayoutValidationInfo

Inheritance: objectDataLayoutValidationInfo

Constructors

Initializes an empty validation-information object whose properties can be assigned later.

C#
public DataLayoutValidationInfo()

Initializes validation information with the associated item, error provider, and range metadata.

C#
public DataLayoutValidationInfo(DataLayoutControlItem item, ErrorProvider errorProvider, RadRangeAttribute rangeAttribute)
Parameters:itemDataLayoutControlItem

The layout item associated with the editor.

errorProviderErrorProvider

The error provider used for the editor.

rangeAttributeRadRangeAttribute

The range metadata for the editor's bound property, if present.

Properties

Gets or sets the error provider associated with the editor.

C#
public ErrorProvider ErrorProvider { get; set; }

Gets or sets the layout item associated with the validated editor.

C#
public DataLayoutControlItem Item { get; set; }

Gets or sets the range metadata found on the editor's bound property, if any.

C#
public RadRangeAttribute RangeAttribute { get; set; }