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






In This Topic
    Placeholder Property (DropDown)
    In This Topic
    Gets or sets the string shown as a hint when the control is empty.
    Syntax
    'Declaration
     
    
    Public Property Placeholder As System.String
    'Usage
     
    
    Dim instance As DropDown
    Dim value As System.String
     
    instance.Placeholder = value
     
    value = instance.Placeholder
    public System.string Placeholder {get; set;}
    public read-write property Placeholder: System.String; 
    public function get,set Placeholder : System.String
    public: __property System.string* get_Placeholder();
    public: __property void set_Placeholder( 
       System.string* value
    );
    public:
    property System.String^ Placeholder {
       System.String^ get();
       void set (    System.String^ value);
    }
    See Also