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






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