Xceed Grid for WinForms v4.3 Documentation
Xceed.Validation.v1.3 Assembly / Xceed.Validation Namespace / RegularExpressionCriterion Class / RequiredField Property


In This Topic
    RequiredField Property (RegularExpressionCriterion)
    In This Topic
    Gets or sets a boolean value indicating whether the field must contain a value.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(False)>
    Public Property RequiredField As Boolean
    'Usage
     
    Dim instance As RegularExpressionCriterion
    Dim value As Boolean
     
    instance.RequiredField = value
     
    value = instance.RequiredField
    [DefaultValue(false)]
    public bool RequiredField {get; set;}

    Property Value

    true if the field must contain a value; false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also