Class ValidateControlContextResult
Inherited Members
Namespace: DataWeb.Data
Assembly: DataWeb.Core.dll
Syntax
public class ValidateControlContextResult
Properties
Control
Gets or sets the resolved Control that passed validation.
Declaration
public Control Control { get; set; }
Property Value
| Type | Description |
|---|---|
| Control |
Error
Gets or sets the validation error when IsValid is false.
Declaration
public ValidationError Error { get; set; }
Property Value
| Type | Description |
|---|---|
| ValidationError |
Form
Gets or sets the resolved Form that contains the validated control.
Declaration
public Form Form { get; set; }
Property Value
| Type | Description |
|---|---|
| Form |
IsValid
Gets or sets a value indicating whether the validation succeeded.
Declaration
public bool IsValid { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |