ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / IDropDown Interface / IsRequired Property






In This Topic
    IsRequired Property (IDropDown)
    In This Topic
    Gets or sets a value indicating whether the control value must be a non-empty string.
    Syntax
    'Declaration
     
    
    Property IsRequired As System.Boolean
    'Usage
     
    
    Dim instance As IDropDown
    Dim value As System.Boolean
     
    instance.IsRequired = value
     
    value = instance.IsRequired
    System.bool IsRequired {get; set;}
    read-write property IsRequired: System.Boolean; 
    function get,set IsRequired : System.boolean
    __property System.bool get_IsRequired();
    __property void set_IsRequired( 
       System.bool value
    );
    property System.bool IsRequired {
       System.bool get();
       void set (    System.bool value);
    }
    See Also