DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ValidateControlContextResult

    Represents the result of a control context validation, including the resolved Form and Control.

    Inheritance
    object
    ValidateControlContextResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In this article
    Back to top Generated by DocFX