[]
        
(Showing Draft Content)

C1.Web.Mvc.ColumnBase.IsRequired

IsRequired Property

IsRequired

Gets or sets a value that determines whether values in the column are required.

Declaration
public 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.