ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Column Class / IsRequired Property

In This Topic
    IsRequired Property (Column)
    In This Topic
    Gets or sets a value that determines whether values in the column are required.
    Syntax
    'Declaration
     
    
    Public Property IsRequired As Nullable(Of Boolean)
    public Nullable<bool> IsRequired {get; set;}
    Remarks
    By default, this property is set to null, which means values are required, but string columns may contain empty strings. When set to true, values are required and empty strings are not allowed. When set to false, null values and empty strings are allowed.
    See Also